@authgear/web
Advanced tools
Comparing version 0.17.1 to 0.18.0
@@ -315,2 +315,26 @@ /** | ||
/** | ||
* Auth UI anonymous user promotion options | ||
* | ||
* @public | ||
*/ | ||
export declare interface PromoteOptions { | ||
/** | ||
* Redirect uri. Redirection URI to which the response will be sent after authorization. | ||
*/ | ||
redirectURI: string; | ||
/** | ||
* OAuth 2.0 state value. | ||
*/ | ||
state?: string; | ||
/** | ||
* UI locale tags | ||
*/ | ||
uiLocales?: string[]; | ||
/** | ||
* OAuth response type | ||
*/ | ||
responseType?: "code" | "none"; | ||
} | ||
/** | ||
* Options for reauthentication | ||
@@ -431,2 +455,6 @@ * @public | ||
/** | ||
* Start promote anonymous user by redirecting to the authorization endpoint. | ||
*/ | ||
startPromoteAnonymousUser(options: PromoteOptions): Promise<void>; | ||
/** | ||
* Finish authorization. | ||
@@ -444,2 +472,8 @@ * | ||
/** | ||
* Finish promote anonymous user. | ||
* | ||
* It may reject with OAuthError. | ||
*/ | ||
finishPromoteAnonymousUser(): Promise<ReauthenticateResult>; | ||
/** | ||
* Logout. | ||
@@ -459,2 +493,6 @@ * | ||
}): Promise<void>; | ||
/** | ||
* Authenticate as an anonymous user. | ||
*/ | ||
authenticateAnonymously(): Promise<AuthorizeResult>; | ||
private _logoutRefreshToken; | ||
@@ -461,0 +499,0 @@ private _logoutCookie; |
{ | ||
"name": "@authgear/web", | ||
"version": "0.17.1", | ||
"version": "0.18.0", | ||
"license": "Apache-2.0", | ||
@@ -14,5 +14,5 @@ "main": "dist/authgear-web.cjs.js", | ||
"devDependencies": { | ||
"@authgear/core": "0.17.1", | ||
"@authgear/core": "0.18.0", | ||
"core-js-pure": "3.6.5" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
883772
23959