Type Parameters

  • User

Hierarchy

  • Strategy<User, SteamStrategy.VerifyOptions>
    • SteamStrategy

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • User

    Parameters

    • options: Options | (request: Request) => Promise<Options>
    • verify: VerifyFunction<User, VerifyOptions>

    Returns SteamStrategy<User>

Properties

name: string = "steam"

The name of the strategy. This will be used by the Authenticator to identify and retrieve the strategy.

verify: VerifyFunction<User, VerifyOptions>

Methods

  • The authentication flow of the strategy.

    This method receives the Request from the authenticator we want to authenticate.

    At the end of the flow, it will return a the User data to be used by the application.

    Parameters

    • request: Request

    Returns Promise<User>