예제 #1
0
        public static string GetRedirectUrl(SignInMessage message, IDictionary <string, object> env, IdentityServerOptions options)
        {
            var result   = new LoginResult(message, env, options);
            var response = result.Execute();

            return(response.Headers.Location.AbsoluteUri);
        }
        public static string GetRedirectUrl(SignInMessage message, IDictionary <string, object> env, IDataProtector protector)
        {
            var result   = new LoginResult(message, env, protector);
            var response = result.Execute();

            return(response.Headers.Location.AbsoluteUri);
        }
        public static string GetRedirectUrl(SignInMessage message, HttpRequestMessage request, CoreSettings settings, InternalConfiguration internalConfig)
        {
            var result = new LoginResult(message, request, settings, internalConfig, internalConfig.LoginPageUrl);
            var response = result.Execute();

            return response.Headers.Location.AbsoluteUri;
        }
        public static string GetRedirectUrl(SignInMessage message, IDictionary<string, object> env, IDataProtector protector)
        {
            var result = new LoginResult(message, env, protector);
            var response = result.Execute();

            return response.Headers.Location.AbsoluteUri;
        }