Class AuthorizationServerPolicyRule
Represents a resource in the Okta API.
Inheritance
System.Object
AuthorizationServerPolicyRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Okta.Sdk.dll
Syntax
public sealed class AuthorizationServerPolicyRule : Resource, IAuthorizationServerPolicyRule, IResource
Properties
Actions
Declaration
public IAuthorizationServerPolicyRuleActions Actions { get; set; }
Property Value
Conditions
Declaration
public IAuthorizationServerPolicyRuleConditions Conditions { get; set; }
Property Value
Created
Declaration
public DateTimeOffset? Created { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Id
Declaration
public string Id { get; }
Property Value
Type |
Description |
System.String |
|
LastUpdated
Declaration
public DateTimeOffset? LastUpdated { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Priority
Declaration
public int? Priority { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Status
Declaration
public string Status { get; set; }
Property Value
Type |
Description |
System.String |
|
System
Declaration
public bool? System { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Type
Declaration
public string Type { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
ActivateAsync(String, String, CancellationToken)
Declaration
public Task ActivateAsync(string authServerId, string policyId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
authServerId |
|
System.String |
policyId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeactivateAsync(String, String, CancellationToken)
Declaration
public Task DeactivateAsync(string authServerId, string policyId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
authServerId |
|
System.String |
policyId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements