Skip to main content

AuthenticationDelegate

A common delegate protocol that all authentication flows should support.

Index

Methods

authentication

  • authentication<Flow>(flow: Flow, receivedToken: Token): void
  • authentication<Flow>(flow: Flow, receivedError: OAuth2Error): void
  • Sent when an authentication session receives a token.


    Type parameters

    • Flow

    Parameters

    • flow: Flow
    • receivedToken: Token

    Returns void

authenticationFinished

  • authenticationFinished<Flow>(flow: Flow): void
  • Sent when an authentication session finishes.


    Type parameters

    • Flow

    Parameters

    • flow: Flow

    Returns void

authenticationStarted

  • authenticationStarted<Flow>(flow: Flow): void
  • Sent when an authentication session starts.


    Type parameters

    • Flow

    Parameters

    • flow: Flow

    Returns void