TokenReviewSpec class
TokenReviewSpec is a description of the token authentication request.
Constructors
-
TokenReviewSpec({List<
String> ? audiences, String? token}) -
Default constructor.
const
-
TokenReviewSpec.fromJson(Map<
String, dynamic> json) -
Creates a TokenReviewSpec from JSON data.
factory
Properties
-
audiences
→ List<
String> ? -
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String?
-
Token is the opaque bearer token.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a TokenReviewSpec instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited