Interface IBasicAuthService
Represents an interface for basic authentication services.
Namespace: Innovt.Core.Security
Assembly: Innovt.Core.dll
Syntax
public interface IBasicAuthService
Methods
| Edit this page View SourceAuthenticate(string, string, CancellationToken)
Authenticates a user based on a provided username and password.
Declaration
Task<bool> Authenticate(string userName, string password, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | userName | The username to authenticate. |
string | password | The password associated with the username. |
CancellationToken | cancellationToken | A cancellation token to cancel the operartion |
Returns
Type | Description |
---|---|
Task<bool> | A task that represents the asynchronous authentication operation.
The task result is |