Exemple #1
0
 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;
 }
Exemple #4
0
        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);
        }
Exemple #5
0
 public ChatService(IWebApiClientManager webApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService, IModelToQueryStringService modelToQueryStringService) : base(webApiClientManager, identityTokenService, configurationService)
 {
     _modelToQueryStringService = modelToQueryStringService;
 }
Exemple #6
0
 public ApiServiceBase(IWebApiClientManager bayconnectApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService)
 {
     _bayconnectApiClientManager = bayconnectApiClientManager;
     _identityTokenService       = identityTokenService;
     _configurationService       = configurationService;
 }
Exemple #7
0
 public async Task GetIdentityTokenDto()
 {
     IIdentityTokenService service = Startup.CreateCluster().GrainFactory.GetGrain <IIdentityTokenService>("8eXxTAu2f94e7y2pC7nqJr4nBgnRh5YY4JcqZTuZrjk=");
     var r = await service.GetAsync();
 }
Exemple #8
0
 public TokenService(IWebApiClientManager webApiClientManager, IIdentityTokenService identityTokenService, IConfigurationService configurationService) : base(webApiClientManager, identityTokenService, configurationService)
 {
 }
 public AuthenticateEndpoint(ILoggerService <AuthenticateEndpoint> logger, IIdentityTokenService tokenService)
 {
     _logger       = logger;
     _tokenService = tokenService;
 }