Function CreateAuthHandler

  • Create AuthHandler Factory

    Parameters

    • type: AuthTypes
    • credentials: Credentials
    • oath2Config: null | OAuth2Config = null
    • accesTokenURL: null | string = null
    • redisConfig: null | RedisConfig = null

    Returns AuthHandler