FrontendAuth
This class implements BaseAuth
.
Members
client : any | null
client : any | null
An implementation specific OpenID connect client.
Interfaces
OpenIDTokenSet
OpenIDTokenSet
Methods
This class overrides previously defined methods from BaseAuth
.
async setRefreshTokenCallback(fn)
async setRefreshTokenCallback(fn)
This function sets a refresh callback implementation for this object.
The fn
argument must be a function that takes a refresh token (string) as an argument and returns a promise that contains an object that implements the OpenIDTokenSet
interface.
An iframe
-based implementation is provided as IFrameRefresh
.
Last updated