Docs
chromia.com

Function

createAuthenticator

  • createAuthenticator(
        accountBufferId: BufferId,
        keyHandlers: KeyHandler[],
        authDataService: AuthDataService,
    ): Authenticator

    Creates a new authenticator instance from the specified arguments

    Parameters

    • accountBufferId: BufferId

      the id of the account for which this authenticator is valid

    • keyHandlers: KeyHandler[]

      any key handlers that can be used to authenticate against this account

    • authDataService: AuthDataService

      an auth data service that will be used when interacting with the account

    Returns Authenticator