Class: AuthorizationServerPolicy

AuthorizationServerPolicy


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
authServerId string

createPolicyRule(authServerId, authorizationServerPolicyRule)

Parameters:
Name Type Description
authServerId string
authorizationServerPolicyRule AuthorizationServerPolicyRule
Returns:
Type
Promise.<AuthorizationServerPolicyRule>

deactivate(authServerId)

Parameters:
Name Type Description
authServerId string

delete(authServerId)

Parameters:
Name Type Description
authServerId string

deletePolicyRule(authServerId, ruleId)

Parameters:
Name Type Description
authServerId string
ruleId string

getPolicyRule(authServerId, ruleId)

Parameters:
Name Type Description
authServerId string
ruleId string
Returns:
Type
Promise.<AuthorizationServerPolicyRule>

listPolicyRules(authServerId)

Parameters:
Name Type Description
authServerId string
Returns:
A collection that will yield AuthorizationServerPolicyRule instances.
Type
Promise.<Collection>

update(authServerId)

Parameters:
Name Type Description
authServerId string
Returns:
Type
Promise.<AuthorizationServerPolicy>