Options
All
  • Public
  • Public/Protected
  • All
Menu

Authorization Provider interface.

Hierarchy

  • AuthProvider

Implemented by

Index

Methods

getAuthenticatedUsername

  • getAuthenticatedUsername(): Promise<string>
  • Gets the username of the currently authenticated user.

    Returns Promise<string>

    username

getToken

  • getToken(): Promise<string>

getTokenObservable

  • getTokenObservable(): Observable<string>
  • Retrieve an Observer to get an up to date token over time.

    Returns Observable<string>

getTokenSync

  • getTokenSync(): string | undefined

logout

  • logout(options?: any): Promise<null>
  • Log out the current authentication session.

    Parameters

    • Optional options: any

    Returns Promise<null>

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