WebOIDCContainer class
Skygear OIDC APIs (for web platforms).
Signature:
export declare class WebOIDCContainer<T extends WebAPIClient> extends OIDCContainer<T>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(parent, auth) | Constructs a new instance of the WebOIDCContainer class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
clientID | string | ||
isThirdParty | boolean |
Methods
Method | Modifiers | Description |
---|---|---|
_setupCodeVerifier() | ||
finishAuthorization() | Finish authorizationexchangeToken read window.location. It checks if error is present and rejects with OAuthError. Otherwise assume code is present, make a token request. | |
logout(options) | Logout. | |
startAuthorization(options) | Start authorization by opening authorize page |