WebAuthContainer class
Skygear Auth APIs (for web platforms).
Signature:
export declare class WebAuthContainer<T extends WebAPIClient> extends AuthContainer<T>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(parent) | Constructs a new instance of the WebAuthContainer class |
Methods
Method | Modifiers | Description |
---|---|---|
getLinkRedirectResult() | Gets SSO link result. | |
getLoginRedirectResult() | Gets SSO login result. | |
linkOAuthProviderWithPopup(providerID) | Links user with OAuth SSO provider using popup window. | |
linkOAuthProviderWithRedirect(providerID, callbackURL) | Links user with OAuth SSO provider by redirecting user. | |
loginOAuthProviderWithPopup(providerID, options) | Login user with OAuth SSO provider using popup window. | |
loginOAuthProviderWithRedirect(providerID, callbackURL, options) | Login user with OAuth SSO provider by redirecting user. |