Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class BasicAuthorizationService

    Inheritance
    object
    AwsBaseService
    BasicAuthorizationService
    Implements
    IDisposable
    IBasicAuthService
    Inherited Members
    AwsBaseService.Configuration
    AwsBaseService.ExponentialBackoffInSeconds
    AwsBaseService.Logger
    AwsBaseService.Dispose()
    AwsBaseService.GetServiceRegionEndPoint()
    AwsBaseService.CreateService<T>()
    AwsBaseService.CreateDefaultRetryAsyncPolicy()
    AwsBaseService.CreateDefaultRetryPolicy()
    AwsBaseService.CreateRetryAsyncPolicy<T>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3, T4>()
    AwsBaseService.CreateCircuitBreaker<T, T1>()
    AwsBaseService.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.AWS.Cognito.Authorization
    Assembly: Innovt.Cloud.AWS.Cognito.dll
    Syntax
    public class BasicAuthorizationService : AwsBaseService, IDisposable, IBasicAuthService

    Constructors

    | Edit this page View Source

    BasicAuthorizationService(ILogger, IAwsConfiguration, string)

    Declaration
    public BasicAuthorizationService(ILogger logger, IAwsConfiguration configuration, string userPoolId)
    Parameters
    Type Name Description
    ILogger logger
    IAwsConfiguration configuration
    string userPoolId

    Properties

    | Edit this page View Source

    UserPoolId

    Declaration
    public string UserPoolId { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Authenticate(string, string, CancellationToken)

    Authenticates a user based on a provided username and password.

    Declaration
    public 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.

    | Edit this page View Source

    DisposeServices()

    Disposes of any services used by the AwsBaseService.

    Declaration
    protected override void DisposeServices()
    Overrides
    AwsBaseService.DisposeServices()

    Implements

    IDisposable
    IBasicAuthService

    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