Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Account

accountIdentifier combination of idToken.uid and idToken.utid homeAccountIdentifier combination of clientInfo.uid and clientInfo.utid userName idToken.preferred_username name idToken.name idToken idToken sid idToken.sid - session identifier environment idtoken.issuer (the authority that issues the token)

Hierarchy

  • Account

Index

Constructors

constructor

  • new Account(accountIdentifier: string, homeAccountIdentifier: string, userName: string, name: string, idTokenClaims: StringDict, sid: string, environment: string): Account
  • Creates an Account Object

    praram

    accountIdentifier

    Parameters

    • accountIdentifier: string
    • homeAccountIdentifier: string
    • userName: string
    • name: string
    • idTokenClaims: StringDict
    • sid: string
    • environment: string

    Returns Account

Properties

accountIdentifier

accountIdentifier: string

environment

environment: string

homeAccountIdentifier

homeAccountIdentifier: string

idToken

idToken: StringDict

idTokenClaims

idTokenClaims: StringDict

name

name: string

sid

sid: string

userName

userName: string

Methods

Static compareAccounts

  • Utils function to compare two Account objects - used to check if the same user account is logged in

    Parameters

    Returns boolean

Generated using TypeDoc