Show / Hide Table of Contents

Class ServerPolicyClaim

Creates an Authorization Server Policy Rule.

This resource allows you to create and configure an Authorization Server Policy Rule.

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
public MyStack()
{
    var example = new Okta.Auth.ServerPolicyClaim("example", new Okta.Auth.ServerPolicyClaimArgs
    {
        AuthServerId = "<auth server id>",
        GrantTypeWhitelists = 
        {
            "implicit",
        },
        GroupWhitelists = 
        {
            "<group ids>",
        },
        PolicyId = "<auth server policy id>",
        Priority = 1,
        Status = "ACTIVE",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ServerPolicyClaim
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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()
Namespace: Pulumi.Okta.Auth
Assembly: Pulumi.Okta.dll
Syntax
public class ServerPolicyClaim : CustomResource

Constructors

View Source

ServerPolicyClaim(String, ServerPolicyClaimArgs, CustomResourceOptions)

Create a ServerPolicyClaim resource with the given unique name, arguments, and options.

Declaration
public ServerPolicyClaim(string name, ServerPolicyClaimArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ServerPolicyClaimArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccessTokenLifetimeMinutes

Lifetime of access token. Can be set to a value between 5 and 1440.

Declaration
public Output<int?> AccessTokenLifetimeMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

AuthServerId

Auth Server ID.

Declaration
public Output<string> AuthServerId { get; }
Property Value
Type Description
Output<System.String>
View Source

GrantTypeWhitelists

Accepted grant type values, &quot;authorization_code&quot;, &quot;implicit&quot;, &quot;password&quot;

Declaration
public Output<ImmutableArray<string>> GrantTypeWhitelists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

GroupBlacklists

Declaration
public Output<ImmutableArray<string>> GroupBlacklists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

GroupWhitelists

Declaration
public Output<ImmutableArray<string>> GroupWhitelists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

InlineHookId

The ID of the inline token to trigger.

Declaration
public Output<string> InlineHookId { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Auth Server Policy Rule name.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PolicyId

Auth Server Policy ID.

Declaration
public Output<string> PolicyId { get; }
Property Value
Type Description
Output<System.String>
View Source

Priority

Priority of the auth server policy rule.

Declaration
public Output<int> Priority { get; }
Property Value
Type Description
Output<System.Int32>
View Source

RefreshTokenLifetimeMinutes

Lifetime of refresh token.

Declaration
public Output<int?> RefreshTokenLifetimeMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

RefreshTokenWindowMinutes

Declaration
public Output<int?> RefreshTokenWindowMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

ScopeWhitelists

Scopes allowed for this policy rule. They can be whitelisted by name or all can be whitelisted with &quot;*&quot;.

Declaration
public Output<ImmutableArray<string>> ScopeWhitelists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Status

The status of the Auth Server Policy Rule.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

The type of the Auth Server Policy Rule.

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>
View Source

UserBlacklists

Declaration
public Output<ImmutableArray<string>> UserBlacklists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

UserWhitelists

Declaration
public Output<ImmutableArray<string>> UserWhitelists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, ServerPolicyClaimState, CustomResourceOptions)

Get an existing ServerPolicyClaim resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ServerPolicyClaim Get(string name, Input<string> id, ServerPolicyClaimState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ServerPolicyClaimState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ServerPolicyClaim
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.