Interface IClaimsPrincipalProvider
Assembly: TheIdentityHub.AspNetCore.Authentication.dll
Syntax
public interface IClaimsPrincipalProvider
Methods
TryGetPrincipalAsync(String)
Declaration
Task<ClaimsPrincipal> TryGetPrincipalAsync(string accessToken)
Parameters
Type |
Name |
Description |
System.String |
accessToken |
|
Returns
Type |
Description |
Task<ClaimsPrincipal> |
|
TryGetPrincipalWithJsonAsync(String)
Declaration
Task<(ClaimsPrincipal principal, JsonElement? json)> TryGetPrincipalWithJsonAsync(string accessToken)
Parameters
Type |
Name |
Description |
System.String |
accessToken |
|
Returns
Type |
Description |
Task<System.ValueTuple<ClaimsPrincipal, System.Nullable<JsonElement>>> |
|