Interface IAuthorizationRepository
Represents a repository for authorization-related operations.
Namespace: Innovt.Domain.Security
Assembly: Innovt.Domain.dll
Syntax
public interface IAuthorizationRepository
Methods
| Edit this page View SourceGetUserByExternalId(string, CancellationToken)
Gets a user by their external identifier.
Declaration
Task<AuthUser> GetUserByExternalId(string externalId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | externalId | The external identifier of the user. |
CancellationToken | cancellationToken | A CancellationToken to observe the operation cancellation. |
Returns
Type | Description |
---|---|
Task<AuthUser> | A task that represents the asynchronous operation. The task result contains the AuthUser associated with the external identifier. |