public SignInService(IIdentityTokenService tokenService, IIdentityIntrospectionService introspectionService, ISignOutIdentityService signOutIdentityService, ISignInSettingsService signInSettingsService) { TokenService = tokenService; IntrospectionService = introspectionService; SignOutIdentityService = signOutIdentityService; SignInSettingsService = signInSettingsService; }
public AuthenticationController( UserManager <ApplicationUser> userManager, IPasswordHasher <ApplicationUser> passwordHasher, IIdentityTokenService identityTokenService, IEmailSender emailSender) { this.userManager = userManager; this.passwordHasher = passwordHasher; this.identityTokenService = identityTokenService; this.emailSender = emailSender; }
public RegistrationController( IMuseumRegistrationService museumRegistrationService, IEmailConfirmationService emailConfirmationService, UserManager <ApplicationUser> userManager, IIdentityTokenService identityTokenService) { this.emailConfirmationService = emailConfirmationService; this.userManager = userManager; this.identityTokenService = identityTokenService; this.museumRegistrationService = museumRegistrationService; }
public async Task AddIdentityToken() { IIdentityTokenService service = Startup.CreateCluster().GrainFactory.GetGrain <IIdentityTokenService>(Guid.NewGuid().ToString()); var request = new DTO.IdentityTokenAddRequestDto() { ClientId = "a", IdentityIP4 = "127.0.0.1", SubjectId = "a", Type = "a" }; request.Claims.Add("sud", "1"); var r = await service.StoreAsync(request); }
public ChatService(IWebApiClientManager webApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService, IModelToQueryStringService modelToQueryStringService) : base(webApiClientManager, identityTokenService, configurationService) { _modelToQueryStringService = modelToQueryStringService; }
public ApiServiceBase(IWebApiClientManager bayconnectApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService) { _bayconnectApiClientManager = bayconnectApiClientManager; _identityTokenService = identityTokenService; _configurationService = configurationService; }
public async Task GetIdentityTokenDto() { IIdentityTokenService service = Startup.CreateCluster().GrainFactory.GetGrain <IIdentityTokenService>("8eXxTAu2f94e7y2pC7nqJr4nBgnRh5YY4JcqZTuZrjk="); var r = await service.GetAsync(); }
public TokenService(IWebApiClientManager webApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService) : base(webApiClientManager, identityTokenService, configurationService) { }
public AuthenticateEndpoint(ILoggerService <AuthenticateEndpoint> logger, IIdentityTokenService tokenService) { _logger = logger; _tokenService = tokenService; }