AuthPolicyDefinition constructor

const AuthPolicyDefinition({
  1. Input<List<AuthPolicyPermissionLevel>>? authorizedPermissions,
  2. required Input<AuthPolicyDecision> decision,
  3. required Input<Map<String, String>> rules,
  4. Input<String>? runnerID,
  5. Input<String>? teamName,
  6. required Input<AuthPolicyTokenType> tokenType,
  7. 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.

Implementation

const AuthPolicyDefinition({
  this.authorizedPermissions,
  required this.decision,
  required this.rules,
  this.runnerID,
  this.teamName,
  required this.tokenType,
  this.userLogin,
});