Table of Contents

Interface IProfileService

Namespace
Duende.IdentityServer.Services
Assembly
Duende.IdentityServer.dll

This interface allows IdentityServer to connect to your user and profile store.

public interface IProfileService

Methods

GetProfileDataAsync(ProfileDataRequestContext)

This method is called whenever claims about the user are requested (e.g. during token creation or via the userinfo endpoint)

Task GetProfileDataAsync(ProfileDataRequestContext context)

Parameters

context ProfileDataRequestContext

The context.

Returns

Task

IsActiveAsync(IsActiveContext)

This method gets called whenever identity server needs to determine if the user is valid or active (e.g. if the user's account has been deactivated since they logged in). (e.g. during token issuance or validation).

Task IsActiveAsync(IsActiveContext context)

Parameters

context IsActiveContext

The context.

Returns

Task