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