new AuthorizationServerPolicy()
Properties:
| Name | Type | Description |
|---|---|---|
_embedded |
hash | |
_links |
hash | |
conditions |
PolicyRuleConditions | |
created |
dateTime | |
description |
string | |
id |
string | |
lastUpdated |
dateTime | |
name |
string | |
priority |
integer | |
status |
string | |
system |
boolean | |
type |
PolicyType |
Extends
Methods
-
activate(authServerId)
-
Parameters:
Name Type Description authServerIdstring -
createPolicyRule(authServerId, authorizationServerPolicyRule)
-
Parameters:
Name Type Description authServerIdstring authorizationServerPolicyRuleAuthorizationServerPolicyRule Returns:
- Type
- Promise.<AuthorizationServerPolicyRule>
-
deactivate(authServerId)
-
Parameters:
Name Type Description authServerIdstring -
delete(authServerId)
-
Parameters:
Name Type Description authServerIdstring -
deletePolicyRule(authServerId, ruleId)
-
Parameters:
Name Type Description authServerIdstring ruleIdstring -
getPolicyRule(authServerId, ruleId)
-
Parameters:
Name Type Description authServerIdstring ruleIdstring Returns:
- Type
- Promise.<AuthorizationServerPolicyRule>
-
listPolicyRules(authServerId)
-
Parameters:
Name Type Description authServerIdstring Returns:
A collection that will yield AuthorizationServerPolicyRule instances.- Type
- Promise.<Collection>
-
update(authServerId)
-
Parameters:
Name Type Description authServerIdstring Returns:
- Type
- Promise.<AuthorizationServerPolicy>