Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CrossOriginAuthentication

Hierarchy

  • CrossOriginAuthentication

Index

Constructors

Methods

Constructors

constructor

Methods

callback

  • callback(): void
  • Runs the callback code for the cross origin authentication call. This method is meant to be called by the cross origin authentication callback url.

    Returns void

login

  • Logs in the user with username and password using the cross origin authentication (/co/authenticate) flow. You can use either username or email to identify the user, but username will take precedence over email. This only works when 3rd party cookies are enabled in the browser. After the /co/authenticate call, you'll have to use the parseHash function at the redirectUri specified in the constructor.

    Parameters

    Returns void

Generated using TypeDoc