Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EngineAuthService

Index

Constructors

constructor

Accessors

api_endpoint

  • get api_endpoint(): string

authority

client_id

  • get client_id(): string

fixed_device

  • get fixed_device(): boolean

has_token

  • get has_token(): boolean

is_online

  • get is_online(): boolean

online_state

  • get online_state(): Observable<boolean>

redirect_uri

  • get redirect_uri(): string

refresh_token

  • get refresh_token(): string

route

  • get route(): "/api/engine/v2" | "/control/api"

token

  • get token(): string

trusted

  • get trusted(): boolean

Methods

authorise

  • authorise(state?: undefined | string): Promise<string>
  • Check the users authentication credentials and perform actions required for the user to authenticate

    Parameters

    • Optional state: undefined | string

      Additional state information for auth requests

    Returns Promise<string>

invalidateToken

  • invalidateToken(): void

logout

  • logout(): void

refreshAuthority

  • refreshAuthority(): void

setup

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • 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