mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
95 lines
3.0 KiB
Plaintext
95 lines
3.0 KiB
Plaintext
{
|
|
"Window": {
|
|
"token": "string"
|
|
},
|
|
"Auth0Static": {
|
|
"changePassword": "fn(options: ?, callback?: Function)",
|
|
"decodeJwt": "fn(jwt: string) -> ?",
|
|
"login": "fn(options: ?, callback: fn(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string))",
|
|
"loginWithPopup": "fn(options: Auth0LoginOptions, callback: fn(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string))",
|
|
"loginWithResourceOwner": "fn(options: Auth0LoginOptions, callback: fn(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: ?))",
|
|
"loginWithUsernamePassword": "fn(options: Auth0LoginOptions, callback: fn(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string))",
|
|
"logout": "fn(query: string)",
|
|
"getConnections": "fn(callback?: Function)",
|
|
"getDelegationToken": "fn(targetClientId: string, id_token: string, options: ?, callback: fn(error?: Auth0Error, delegationResult?: Auth0DelegationToken))",
|
|
"getProfile": "fn(id_token: string, callback?: Function) -> Auth0UserProfile",
|
|
"getSSOData": "fn(withActiveDirectories: ?, callback?: Function)",
|
|
"parseHash": "fn(hash: string) -> Auth0DecodedHash",
|
|
"signup": "fn(options: Auth0SignupOptions, callback: Function)",
|
|
"validateUser": "fn(options: ?, callback: fn(error?: Auth0Error, valid?: ?))"
|
|
},
|
|
"Auth0ClientOptions": {
|
|
"clientID": "string",
|
|
"callbackURL": "string",
|
|
"callbackOnLocationHash": "bool",
|
|
"domain": "string",
|
|
"forceJSONP": "bool"
|
|
},
|
|
"Auth0UserProfile": {
|
|
"email": "string",
|
|
"family_name": "string",
|
|
"gender": "string",
|
|
"given_name": "string",
|
|
"locale": "string",
|
|
"name": "string",
|
|
"nickname": "string",
|
|
"picture": "string",
|
|
"user_id": "string",
|
|
"identities": "[Auth0Identity]"
|
|
},
|
|
"MicrosoftUserProfile": {
|
|
"emails": "[string]"
|
|
},
|
|
"Office365UserProfile": {
|
|
"tenantid": "string",
|
|
"upn": "string"
|
|
},
|
|
"AdfsUserProfile": {
|
|
"issuer": "string"
|
|
},
|
|
"Auth0Identity": {
|
|
"access_token": "string",
|
|
"connection": "string",
|
|
"isSocial": "bool",
|
|
"provider": "string",
|
|
"user_id": "string"
|
|
},
|
|
"Auth0DecodedHash": {
|
|
"access_token": "string",
|
|
"id_token": "string",
|
|
"profile": "Auth0UserProfile",
|
|
"state": "?"
|
|
},
|
|
"Auth0PopupOptions": {
|
|
"width": "number",
|
|
"height": "number"
|
|
},
|
|
"Auth0LoginOptions": {
|
|
"auto_login": "bool",
|
|
"connection": "string",
|
|
"email": "string",
|
|
"username": "string",
|
|
"password": "string",
|
|
"popup": "bool",
|
|
"popupOptions": "Auth0PopupOptions"
|
|
},
|
|
"Auth0SignupOptions": {
|
|
"auto_login": "bool"
|
|
},
|
|
"Auth0Error": {
|
|
"code": "?",
|
|
"details": "?",
|
|
"name": "string",
|
|
"message": "string",
|
|
"status": "?"
|
|
},
|
|
"Auth0DelegationToken": {
|
|
"expires_in": "string",
|
|
"id_token": "string",
|
|
"token_type": "string"
|
|
},
|
|
"Auth0": "Auth0Static",
|
|
"auth0": "Auth0",
|
|
"!name": "auth0.d.ts"
|
|
}
|