Interface ScriptAccountManager
Defined in typescript-definitions.ts:3348
Methods
addDeviceForUser
addDeviceForUser( username: null | string , deviceId: null | string , deviceAlias: null | string , deviceNumber: null | string , formFactor: null | string , type: null | string , expiresAt: Instant ) : void
Parameters
username: null | string
deviceId: null | string
deviceAlias: null | string
deviceNumber: null | string
formFactor: null | string
type: null | string
Returns void
Defined in typescript-definitions.ts:3366
addDeviceForUser( parameters: DeviceMap ) : void
Returns void
Defined in typescript-definitions.ts:3373
createAccount
createAccount( account: null | AccountAttributes ) : void
Returns void
Defined in typescript-definitions.ts:3379
createAccount( account: null | object ) : void
Returns void
Defined in typescript-definitions.ts:3385
deleteAccount
deleteAccount( account: null | AccountAttributes ) : void
Returns void
Defined in typescript-definitions.ts:3391
deleteAccount( account: null | object ) : void
Returns void
Defined in typescript-definitions.ts:3397
deleteDevice
deleteDevice( accountId: null | string , deviceId: null | string ) : void
Parameters
accountId: null | string
deviceId: null | string
Returns void
Defined in typescript-definitions.ts:3405
deleteDevice( parameters: null | object ) : void
Parameters
parameters: null | object
Returns void
Defined in typescript-definitions.ts:3411
ensureNonDuplicateAccount
ensureNonDuplicateAccount( userName: null | string , primaryEmail: null | string ) : null | string
Parameters
userName: null | string
primaryEmail: null | string
Returns null | string
Defined in typescript-definitions.ts:3419
getByEmail
getByEmail( email: null | string ) : null | object
Returns null | object
Defined in typescript-definitions.ts:3426
getById
getById( accountId: null | string ) : null | object
Returns null | object
Defined in typescript-definitions.ts:3433
getByPhone
getByPhone( phone: null | string ) : null | object
Returns null | object
Defined in typescript-definitions.ts:3440
getByUserName
getByUserName( userName: null | string ) : null | object
Returns null | object
Defined in typescript-definitions.ts:3447
getDevicesByUserName
getDevicesByUserName( userName: null | string ) : object []
Returns object []
Defined in typescript-definitions.ts:3453
isSetPasswordAfterActivation
isSetPasswordAfterActivation( ) : boolean
Returns boolean
Defined in typescript-definitions.ts:3469
listLinksByAccountId
listLinksByAccountId( accountId: string ) : any []
Returns any []
Defined in typescript-definitions.ts:3475
listLinksBySubject
listLinksBySubject( subject: string ) : any []
Returns any []
Defined in typescript-definitions.ts:3481
resolveLink
resolveLink( foreignDomainName: string , foreignSubject: string ) : null | AccountAttributes
Parameters
foreignDomainName: string
foreignSubject: string
Defined in typescript-definitions.ts:3488
supportsRegistration
supportsRegistration( ) : boolean
Returns boolean
Defined in typescript-definitions.ts:3490
updateAccount
updateAccount( account: null | AccountAttributes ) : boolean
Returns boolean
Defined in typescript-definitions.ts:3496
updateAccount( account: null | object ) : boolean
Returns boolean
Defined in typescript-definitions.ts:3502
An AccountManager can be used to control user accounts.
It supports creating, updating and retrieving accounts.
It may also support registration and associating devices with user accounts.