Esempio n. 1
0
 public static string GetAuthUrl(OAuthType type, string redirectUrl)
 {
     return($"/api/login/auth/{type.Value}?redirectUrl={HttpUtility.UrlEncode(redirectUrl)}");
 }
Esempio n. 2
0
 public static string GetAuthRedirectUrl(string host, OAuthType authType, string redirectUrl)
 {
     return($"{host}/api/login/auth/{authType.Value}/redirect?redirectUrl={HttpUtility.UrlEncode(redirectUrl)}");
 }
Esempio n. 3
0
 public static string GetAuthUrl(OAuthType type)
 {
     return($"/api/login/auth/{type.Value}");
 }