Constructors

Methods

  • Returns Promise<void>

  • Fetch the auth tokens, and the temporary AWS credentials and identity if they are configured. By default it does not refresh the auth tokens or credentials if they are loaded in storage already. You can force a refresh with { forceRefresh: true } input.

    Parameters

    Returns Promise<AuthSession>

    Promise of current auth session AuthSession.