Table of Contents

Interface IClaimsProvider

Namespace
Arc4u.OAuth2.Security
Assembly
Arc4u.OAuth2.dll

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

userIdentifier string

The identifier of the user (see ClaimsIdentifierOption).

Returns

Task<IEnumerable<ClaimDto>>

The extra claims of the user.