public AuthorizeController(IStoredGrantManager handleManager, IAuthorizationServerConfiguration config, TokenService tokenService, ISmiIdentity identityConfig) { _handleManager = handleManager; _config = config; _identityConfig = identityConfig; _tokenService = tokenService; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _testSmi = new TestSmiIdentityConfiguration(); }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _clientManager = new TestClientManager() { Id = "codeclient", Secret = "secret", OAuthFlow = OAuthFlow.Code, RedirectUri = "https://prod.local" }; }
public TokenController(IResourceOwnerCredentialValidation rocv, IAuthorizationServerConfiguration config, IStoredGrantManager handleManager, IAssertionGrantValidation assertionGrantValidator) { _rocv = rocv; _config = config; _handleManager = handleManager; _assertionGrantValidator = assertionGrantValidator; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _client = Principal.Create("Test", new Claim("client_id", "client"), new Claim("secret", "secret")); }
public TokenController( IResourceOwnerCredentialValidation rocv, IAuthorizationServerConfiguration config, ITokenHandleManager handleManager) { _rocv = rocv; _config = config; _handleManager = handleManager; }
public TokenController( IResourceOwnerCredentialValidation rocv, IAuthorizationServerConfiguration config, IStoredGrantManager handleManager) { _rocv = rocv; _config = config; _handleManager = handleManager; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _clientManager = new TestClientManager { Id = "implicitclient", Secret = "secret", OAuthFlow = OAuthFlow.Implicit, RedirectUri = "https://prod.local" }; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _client = Principal.Create( "Test", new Claim(ClaimTypes.Name, "assertionclient"), new Claim("password", "secret")); }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _storedGrantManager = new TestTokenHandleManager("abc", "client", "https://validredirect"); _clientManager = new TestClientManager() { Id = "client", Secret = "secret", OAuthFlow = OAuthFlow.Client, AllowRefreshTokens = false }; _client = Principal.Create("Test", new Claim("client_id", "client"), new Claim("secret", "secret")); }
public TokenController( IResourceOwnerCredentialValidation rocv, IAuthorizationServerConfiguration config, IStoredGrantManager handleManager, IAssertionGrantValidation assertionGrantValidator, TokenService tokenService) { _rocv = rocv; _config = config; _handleManager = handleManager; _assertionGrantValidator = assertionGrantValidator; _tokenService = tokenService; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); _client = Principal.Create( "Test", new Claim("client_id", "codeclient"), new Claim("secret", "secret")); _handleManager = new TestTokenHandleManager( "abc", "codeclient", "https://validredirect"); }
public void Init() { _testConfig = new TestAuthorizationServerConfiguration(); }
public HomeController(IAuthorizationServerConfiguration config) { this.config = config; }
public AuthorizeController(IStoredGrantManager handleManager, IAuthorizationServerConfiguration config) { _handleManager = handleManager; _config = config; }
public AuthorizeController(ITokenHandleManager handleManager, IAuthorizationServerConfiguration config) { _handleManager = handleManager; _config = config; }
public TokenService(IAuthorizationServerConfiguration authorizationServerConfiguration) : this(authorizationServerConfiguration.GlobalConfiguration) { }
public TokenService(IAuthorizationServerConfiguration authorizationServerConfiguration) { globalConfiguration = authorizationServerConfiguration.GlobalConfiguration; }
public AuthorizeController(IStoredGrantManager handleManager, IAuthorizationServerConfiguration config, TokenService tokenService) { _handleManager = handleManager; _config = config; _tokenService = tokenService; }
public void Init() { DataProtectection.Instance = new NoProtection(); _testConfig = new TestAuthorizationServerConfiguration(); }