Skip to content

Latest commit

 

History

History
60 lines (33 loc) · 891 Bytes

AffindaCredential.md

File metadata and controls

60 lines (33 loc) · 891 Bytes

@affinda/affinda / Exports / AffindaCredential

Class: AffindaCredential

Implements

  • TokenCredential

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AffindaCredential(token)

Parameters

Name Type
token string

Properties

token

token: string

Methods

getToken

getToken(scopes, options?): Promise<null | AccessToken>

Parameters

Name Type
scopes string | string[]
options? GetTokenOptions

Returns

Promise<null | AccessToken>

Implementation of

TokenCredential.getToken