Esempio n. 1
0
 public static string GetAuthRedirectUrl(OAuthType authType, string redirectUrl)
 {
     return(Context.UtilsApi.GetApiUrl($"{LoginPlugin.PluginId}/auth/{authType.Value}/redirect?redirectUrl={HttpUtility.UrlEncode(redirectUrl)}"));
 }
Esempio n. 2
0
 public static string GetAuthRedirectUrl(OAuthType authType, string redirectUrl)
 {
     return($"{Context.Environment.ApiUrl}/{Plugin.PluginId}/auth/{authType.Value}/redirect?redirectUrl={HttpUtility.UrlEncode(redirectUrl)}");
 }
Esempio n. 3
0
 public static string GetAuthUrl(OAuthType type)
 {
     return(Context.UtilsApi.GetApiUrl($"{LoginPlugin.PluginId}/auth/{type.Value}"));
 }
Esempio n. 4
0
 public static string GetAuthUrl(OAuthType type)
 {
     return($"{Context.Environment.ApiUrl}/{Plugin.PluginId}/auth/{type.Value}");
 }