Constructor
new OAuthClient()
Methods
(async) getUserInformation() → {Object}
calls userinfo endpoint at idp via backend to retreive user information
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
Returns:
- authenticated or unauthenticated user information
- Type
- Object