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",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Auth
Assembly: Pulumi.Okta.dll
Syntax
public class ServerPolicyClaim : CustomResource
Constructors
View SourceServerPolicyClaim(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 SourceAccessTokenLifetimeMinutes
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>> |
AuthServerId
Auth Server ID.
Declaration
public Output<string> AuthServerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GrantTypeWhitelists
Accepted grant type values, "authorization_code", "implicit", "password"
Declaration
public Output<ImmutableArray<string>> GrantTypeWhitelists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
GroupBlacklists
Declaration
public Output<ImmutableArray<string>> GroupBlacklists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
GroupWhitelists
Declaration
public Output<ImmutableArray<string>> GroupWhitelists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
InlineHookId
The ID of the inline token to trigger.
Declaration
public Output<string> InlineHookId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Auth Server Policy Rule name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PolicyId
Auth Server Policy ID.
Declaration
public Output<string> PolicyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Priority
Priority of the auth server policy rule.
Declaration
public Output<int> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
RefreshTokenLifetimeMinutes
Lifetime of refresh token.
Declaration
public Output<int?> RefreshTokenLifetimeMinutes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
RefreshTokenWindowMinutes
Declaration
public Output<int?> RefreshTokenWindowMinutes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ScopeWhitelists
Scopes allowed for this policy rule. They can be whitelisted by name or all can be whitelisted with "*".
Declaration
public Output<ImmutableArray<string>> ScopeWhitelists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Status
The status of the Auth Server Policy Rule.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Type
The type of the Auth Server Policy Rule.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserBlacklists
Declaration
public Output<ImmutableArray<string>> UserBlacklists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
UserWhitelists
Declaration
public Output<ImmutableArray<string>> UserWhitelists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(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 |