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 oAuth2ClaimOAuth2Claim Returns:
- Type
- Promise.<OAuth2Claim>
-
createOAuth2Scope(oAuth2Scope)
-
Parameters:
Name Type Description oAuth2ScopeOAuth2Scope Returns:
- Type
- Promise.<OAuth2Scope>
-
createPolicy(authorizationServerPolicy)
-
Parameters:
Name Type Description authorizationServerPolicyAuthorizationServerPolicy Returns:
- Type
- Promise.<AuthorizationServerPolicy>
-
deleteOAuth2Claim(claimId)
-
Parameters:
Name Type Description claimIdstring -
deleteOAuth2Scope(scopeId)
-
Parameters:
Name Type Description scopeIdstring -
deletePolicy(policyId)
-
Parameters:
Name Type Description policyIdstring -
getOAuth2Claim(claimId)
-
Parameters:
Name Type Description claimIdstring Returns:
- Type
- Promise.<OAuth2Claim>
-
getOAuth2Scope(scopeId)
-
Parameters:
Name Type Description scopeIdstring Returns:
- Type
- Promise.<OAuth2Scope>
-
getPolicy(policyId)
-
Parameters:
Name Type Description policyIdstring Returns:
- Type
- Promise.<AuthorizationServerPolicy>
-
getRefreshTokenForClient(clientId, tokenId, queryParameters)
-
Parameters:
Name Type Description clientIdstring tokenIdstring queryParametersobject 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 queryParametersobject 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 clientIdstring queryParametersobject Returns:
A collection that will yield OAuth2RefreshToken instances.- Type
- Promise.<Collection>
-
revokeRefreshTokenForClient(clientId, tokenId)
-
Parameters:
Name Type Description clientIdstring tokenIdstring -
revokeRefreshTokensForClient(clientId)
-
Parameters:
Name Type Description clientIdstring -
rotateKeys(jwkUse)
-
Parameters:
Name Type Description jwkUseJwkUse Returns:
A collection that will yield JsonWebKey instances.- Type
- Promise.<Collection>
-
update()
-
Returns:
- Type
- Promise.<AuthorizationServer>
-
updateOAuth2Claim(claimId, oAuth2Claim)
-
Parameters:
Name Type Description claimIdstring oAuth2ClaimOAuth2Claim Returns:
- Type
- Promise.<OAuth2Claim>
-
updateOAuth2Scope(scopeId, oAuth2Scope)
-
Parameters:
Name Type Description scopeIdstring oAuth2ScopeOAuth2Scope Returns:
- Type
- Promise.<OAuth2Scope>
-
updatePolicy(policyId, authorizationServerPolicy)
-
Parameters:
Name Type Description policyIdstring authorizationServerPolicyAuthorizationServerPolicy Returns:
- Type
- Promise.<AuthorizationServerPolicy>