Search
Preparing search index...
The search index is not available
simpler-forge-apis
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
simpler-forge-apis
common
TwoLeggedAuthProvider
Class TwoLeggedAuthProvider
Hierarchy
TwoLeggedAuthProvider
Implements
IAuthProvider
Index
Constructors
constructor
Properties
cache
client
Id
client
Secret
Methods
get
Token
Constructors
constructor
new
Two
Legged
Auth
Provider
(
clientId
:
string
, clientSecret
:
string
)
:
TwoLeggedAuthProvider
Parameters
clientId:
string
clientSecret:
string
Returns
TwoLeggedAuthProvider
Properties
Protected
cache
cache
:
Map
<
string
,
AuthToken
&
{
expires_at
:
number
}
>
Protected
client
Id
client
Id
:
string
Protected
client
Secret
client
Secret
:
string
Methods
get
Token
get
Token
(
scopes
:
Scope
[]
, force
?:
boolean
)
:
Promise
<
AuthToken
>
Parameters
scopes:
Scope
[]
Optional
force:
boolean
Returns
Promise
<
AuthToken
>
Modules
auth
common
dm
index
md
oss
Region
Static
Auth
Provider
Two
Legged
Auth
Provider
constructor
cache
client
Id
client
Secret
get
Token
IAuth
Provider
IClient
Options
Auth
Options
Default
Host
Generated using
TypeDoc