Class: OAuthClient

OAuthClient()

Exposes an OAuth 2.0 client for backend communication

Constructor

new OAuthClient()

Source:

Methods

(async) getUserInformation() → {Object}

calls userinfo endpoint at idp via backend to retreive user information

Source:
Returns:
  • userinfo object
Type
Object

(async) handleCallback() → {Object}

executed on every page load performs oauth callback when oauth authorization request is detected based at backend

Source:
Returns:
  • authenticated or unauthenticated user information
Type
Object