new AuthorizationServer()
Properties:
Name | Type | Description |
---|---|---|
_links |
hash | |
audiences |
array | |
created |
dateTime | |
credentials |
AuthorizationServerCredentials | |
description |
string | |
id |
string | |
issuer |
string | |
issuerMode |
string | |
lastUpdated |
dateTime | |
name |
string | |
status |
string |
Extends
Methods
-
createOAuth2Claim(oAuth2Claim)
-
Parameters:
Name Type Description oAuth2Claim
OAuth2Claim Returns:
- Type
- Promise.<OAuth2Claim>
-
createOAuth2Scope(oAuth2Scope)
-
Parameters:
Name Type Description oAuth2Scope
OAuth2Scope Returns:
- Type
- Promise.<OAuth2Scope>
-
createPolicy(authorizationServerPolicy)
-
Parameters:
Name Type Description authorizationServerPolicy
AuthorizationServerPolicy Returns:
- Type
- Promise.<AuthorizationServerPolicy>
-
deleteOAuth2Claim(claimId)
-
Parameters:
Name Type Description claimId
string -
deleteOAuth2Scope(scopeId)
-
Parameters:
Name Type Description scopeId
string -
deletePolicy(policyId)
-
Parameters:
Name Type Description policyId
string -
getOAuth2Claim(claimId)
-
Parameters:
Name Type Description claimId
string Returns:
- Type
- Promise.<OAuth2Claim>
-
getOAuth2Scope(scopeId)
-
Parameters:
Name Type Description scopeId
string Returns:
- Type
- Promise.<OAuth2Scope>
-
getPolicy(policyId)
-
Parameters:
Name Type Description policyId
string Returns:
- Type
- Promise.<AuthorizationServerPolicy>
-
getRefreshTokenForClient(clientId, tokenId, queryParameters)
-
Parameters:
Name Type Description clientId
string tokenId
string queryParameters
object Returns:
- Type
- Promise.<OAuth2RefreshToken>
-
listKeys()
-
Returns:
A collection that will yield JsonWebKey instances.- Type
- Promise.<Collection>
-
listOAuth2Claims()
-
Returns:
A collection that will yield OAuth2Claim instances.- Type
- Promise.<Collection>
-
listOAuth2Clients()
-
Returns:
A collection that will yield OAuth2Client instances.- Type
- Promise.<Collection>
-
listOAuth2Scopes(queryParameters)
-
Parameters:
Name Type Description queryParameters
object Returns:
A collection that will yield OAuth2Scope instances.- Type
- Promise.<Collection>
-
listPolicies()
-
Returns:
A collection that will yield AuthorizationServerPolicy instances.- Type
- Promise.<Collection>
-
listRefreshTokensForClient(clientId, queryParameters)
-
Parameters:
Name Type Description clientId
string queryParameters
object Returns:
A collection that will yield OAuth2RefreshToken instances.- Type
- Promise.<Collection>
-
revokeRefreshTokenForClient(clientId, tokenId)
-
Parameters:
Name Type Description clientId
string tokenId
string -
revokeRefreshTokensForClient(clientId)
-
Parameters:
Name Type Description clientId
string -
rotateKeys(jwkUse)
-
Parameters:
Name Type Description jwkUse
JwkUse Returns:
A collection that will yield JsonWebKey instances.- Type
- Promise.<Collection>
-
update()
-
Returns:
- Type
- Promise.<AuthorizationServer>
-
updateOAuth2Claim(claimId, oAuth2Claim)
-
Parameters:
Name Type Description claimId
string oAuth2Claim
OAuth2Claim Returns:
- Type
- Promise.<OAuth2Claim>
-
updateOAuth2Scope(scopeId, oAuth2Scope)
-
Parameters:
Name Type Description scopeId
string oAuth2Scope
OAuth2Scope Returns:
- Type
- Promise.<OAuth2Scope>
-
updatePolicy(policyId, authorizationServerPolicy)
-
Parameters:
Name Type Description policyId
string authorizationServerPolicy
AuthorizationServerPolicy Returns:
- Type
- Promise.<AuthorizationServerPolicy>