mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Update typings for oidc-token-manager (#9137)
This commit is contained in:
committed by
Masahiro Wakame
parent
1e5bb9f454
commit
0a00f6e409
15
oidc-token-manager/oidc-token-manager.d.ts
vendored
15
oidc-token-manager/oidc-token-manager.d.ts
vendored
@@ -50,8 +50,9 @@ declare namespace Oidc {
|
||||
}
|
||||
|
||||
interface OidcTokenManagerSettings {
|
||||
load_user_profile?: boolean;
|
||||
persist?: boolean;
|
||||
store?: any;
|
||||
store?: Storage;
|
||||
persistKey?: string;
|
||||
client_id?: string;
|
||||
redirect_uri?: string;
|
||||
@@ -62,6 +63,14 @@ declare namespace Oidc {
|
||||
popup_redirect_uri?: string;
|
||||
silent_redirect_uri?: string;
|
||||
silent_renew?: boolean;
|
||||
request_state_store?: Storage;
|
||||
request_state_key?: string;
|
||||
metadata?: any;
|
||||
authorization_endpoint?: string;
|
||||
jwks_uri?: string;
|
||||
jwks?: any;
|
||||
userinfo_endpoint?: string;
|
||||
end_session_endpoint?: string;
|
||||
}
|
||||
|
||||
interface PopupSettings {
|
||||
@@ -106,8 +115,8 @@ declare namespace Oidc {
|
||||
addOnTokenExpired(cb: () => void): void;
|
||||
addOnSilentTokenRenewFailed(cb: () => void): void;
|
||||
removeToken(): void;
|
||||
redirectForToken(): void;
|
||||
redirectForLogout(): void;
|
||||
redirectForToken(): DefaultPromise;
|
||||
redirectForLogout(): DefaultPromise;
|
||||
processTokenCallbackAsync(queryString?: string): DefaultPromise;
|
||||
renewTokenSilentAsync(): DefaultPromise;
|
||||
processTokenCallbackSilent(hash?: string): void;
|
||||
|
||||
Reference in New Issue
Block a user