Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface to be inherited by classes that need to take action whenever a particular StitchAppClient performs an authentication event. An instance of a StitchAuthListener must be registered with a StitchAuth for this to work correctly.

Hierarchy

  • StitchAuthListener

Index

Methods

Methods

onAuthEvent

  • onAuthEvent is called any time a notable event regarding authentication happens. These events are:

    • When a user logs in.
    • When a user logs out.
    • When a user is linked to another identity.
    • When a listener is registered. This is to handle the case where during registration an event happens that the registerer would otherwise miss out on.

    Parameters

    • auth: StitchAuth

      The instance of StitchAuth where the event happened. It should be used to infer the current state of authentication.

    Returns any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc