Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Variables

Functions

Object literals

Variables

sessionKey

sessionKey: "session" = "session"

Functions

guid

  • guid(): string

Object literals

service

service: object

acquireTokenAsync

  • acquireTokenAsync<T>(provider: IProvider<T>, storage?: Storage, localWindow?: Window): Promise<T>
  • Type parameters

    • T

    Parameters

    • provider: IProvider<T>
    • Default value storage: Storage = window.localStorage
    • Default value localWindow: Window = window

    Returns Promise<T>

getAccessToken

  • getAccessToken<T>(provider: IProvider<T>, resourceId: string, storage?: Storage): string
  • Type parameters

    • T

    Parameters

    • provider: IProvider<T>
    • resourceId: string
    • Default value storage: Storage = window.localStorage

    Returns string

invalidateSession

  • invalidateSession(storage?: Storage): void

restoreSession

  • restoreSession<T>(provider: IProvider<T>, storage?: Storage): T | undefined
  • Type parameters

    • T

    Parameters

    • provider: IProvider<T>
    • Default value storage: Storage = window.localStorage

    Returns T | undefined

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc