示例#1
0
 public IActionResult Redirect(
     [FromQuery(Name = "id")] string plexId,
     [FromQuery(Name = "code")] string plexCode)
 {
     return(Redirect(_plexApi.GetOAuthUrl(plexId, plexCode, _configuration.GetPlexClientId())));
 }