Innovt Platform
Search Results for

    Show / Hide Table of Contents

    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 Source

    Authenticate(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 true if the authentication is successful; otherwise, false.

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX