AuthPolicyDefinition class

Constructors

AuthPolicyDefinition({Input<List<AuthPolicyPermissionLevel>>? authorizedPermissions, required Input<AuthPolicyDecision> decision, required Input<Map<String, String>> rules, Input<String>? runnerID, Input<String>? teamName, required Input<AuthPolicyTokenType> tokenType, Input<String>? userLogin})
Creates a new AuthPolicyDefinition. authorizedPermissions The permission level for organization tokens. decision The rule type of this policy definition. rules OIDC rules to set for this policy. runnerID The runner ID for deployment runner tokens. teamName The team name for team tokens. tokenType The token type for this policy definition. userLogin The user login for personal tokens.
const
AuthPolicyDefinition.fromMap(Map<String, dynamic> map)
factory

Properties

authorizedPermissions → Input<List<AuthPolicyPermissionLevel>>?
The permission level for organization tokens.
final
decision → Input<AuthPolicyDecision>
The rule type of this policy definition.
final
hashCode → int
The hash code for this object.
no setterinherited
rules → Input<Map<String, String>>
OIDC rules to set for this policy.
final
runnerID → Input<String>?
The runner ID for deployment runner tokens.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
teamName → Input<String>?
The team name for team tokens.
final
tokenType → Input<AuthPolicyTokenType>
The token type for this policy definition.
final
userLogin → Input<String>?
The user login for personal tokens.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited