Extends
Members
Methods
# async auth(provider, redirectTo) → {Promise.<void>}
Performs a request to the Hanko API that redirects to the given
third party provider.
Parameters:
Name | Type | Description |
---|---|---|
provider |
string
|
The name of the third party provider |
redirectTo |
string
|
The URL to redirect to after a successful third party authentication |
- See:
Promise.<void>
# getError() → {ThirdPartyError|undefined}
Get a third party error from the current location's query params.
The ThirdPartyError.
ThirdPartyError
|
undefined