AuthPolicyDefinition class
Constructors
-
AuthPolicyDefinition({Input<
List< ? authorizedPermissions, required Input<AuthPolicyPermissionLevel> >AuthPolicyDecision> decision, required Input<Map< rules, Input<String, String> >String> ? runnerID, Input<String> ? teamName, required Input<AuthPolicyTokenType> tokenType, Input<String> ? userLogin}) -
Creates a new AuthPolicyDefinition.
authorizedPermissionsThe permission level for organization tokens.decisionThe rule type of this policy definition.rulesOIDC rules to set for this policy.runnerIDThe runner ID for deployment runner tokens.teamNameThe team name for team tokens.tokenTypeThe token type for this policy definition.userLoginThe user login for personal tokens.const -
AuthPolicyDefinition.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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