Interface IClaimsProvider
The IClaimsProvider is used to implement a backend service to provide extra claims. By sample, custom rights or user information based on the user id (from a db call or other).
public interface IClaimsProvider
Methods
GetAsync(string)
Gets the extra claims of a user.
Task<IEnumerable<ClaimDto>> GetAsync(string userIdentifier)
Parameters
userIdentifierstringThe identifier of the user (see
ClaimsIdentifierOption).
Returns
- Task<IEnumerable<ClaimDto>>
The extra claims of the user.