public RestUsersStorage(
     IProfilesApi profilesApi,
     IRelationsApi relationsApi,
     IUsersPictureStorage usersPictureStorage)
 {
     this.profilesApi = profilesApi;
     Relations        = new RestUserRelationsStorage(profilesApi, relationsApi);
     ProfilePictures  = usersPictureStorage;
 }
 public AccountController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events,
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IEmailSender emailSender,
     IProfilesApi profilesApi,
     IDefaultClientProvider defaultClientProvider,
     IAuthenticationHandlerProvider handlerProvider)
 {
     this.userManager           = userManager;
     this.signInManager         = signInManager;
     this.emailSender           = emailSender;
     this.profilesApi           = profilesApi;
     this.defaultClientProvider = defaultClientProvider;
     this.interaction           = interaction;
     this.clientStore           = clientStore;
     this.schemeProvider        = schemeProvider;
     this.events          = events;
     this.handlerProvider = handlerProvider;
 }
 public ProfilesApiUserProvider(IProfilesApi profilesApi)
 {
     this.profilesApi = profilesApi;
 }
 public CurrentUserProvider(IHttpContextAccessor httpContext, IProfilesApi profilesApi)
 {
     this.httpContext = httpContext;
     this.profilesApi = profilesApi;
 }
Exemple #5
0
 public RestUserRelationsStorage(IProfilesApi profilesApi, IRelationsApi relationsApi)
 {
     this.profilesApi  = profilesApi;
     this.relationsApi = relationsApi;
 }
Exemple #6
0
 public UsersPictureStorage(BlobServiceClient blobClient, IProfilesApi profilesApi)
 {
     this.blobClient  = blobClient;
     this.profilesApi = profilesApi;
 }