CredentialSource class

One ordered candidate source inside the credential-path policy.

A plain value, printable by oka doctor and listed on resolution failure — same inspectable shape as the T1 tool policy (ToolSource).

Annotations
  • @immutable

Constructors

CredentialSource(CredentialSourceKind kind, String label)
Wraps the source kind and its label.
const

Properties

hashCode → int
Hash of kind + label (equality is field-wise).
no setteroverride
kind → CredentialSourceKind
Which policy tier this source is.
final
label → String
Human-readable label (a path, env var name, or well-known name).
final
qualified → String
Printable form, e.g. env OKA_PLAY_SERVICE_ACCOUNT_JSON.
no setter
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
Debug string: the qualified form.
override

Operators

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