AuthOptions class

Options for authenticating a ServiceAccount.

Constructors

AuthOptions(String issuer, {String? discoveryEndpoint, String? primaryDomain, List<String>? requiredRoles, List<String>? projectAudiences, List<String>? additionalScopes})

Properties

additionalScopes List<String>
List of arbitrary additional scopes that are concatenated into the scope.
final
discoveryEndpoint String?
If provided, an url that points to the discovery endpoint document. If omitted, the issuer with DiscoveryEndpointPath is used.
final
hashCode int
The hash code for this object.
no setterinherited
issuer String
The issuer to use.
final
primaryDomain String?
Defines the primary domain of this service account (if needed).
final
projectAudiences List<String>
List of audiences that should be attached to the token. Translates to the additional audience scope ("urn:zitadel:iam:org:project:id:{ProjectId}:aud").
final
requiredRoles List<String>
A list of required roles to add to the fetched token. Translates to the role scope ("urn:zitadel:iam:org:project:role:{Role}").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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