public static interface V1Authentication.TokenReviewStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAudiences(int index)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
com.google.protobuf.ByteString |
getAudiencesBytes(int index)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
int |
getAudiencesCount()
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
List<String> |
getAudiencesList()
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
boolean |
getAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
String |
getError()
Error indicates that the token couldn't be checked
+optional
|
com.google.protobuf.ByteString |
getErrorBytes()
Error indicates that the token couldn't be checked
+optional
|
V1Authentication.UserInfo |
getUser()
User is the UserInfo associated with the provided token.
|
V1Authentication.UserInfoOrBuilder |
getUserOrBuilder()
User is the UserInfo associated with the provided token.
|
boolean |
hasAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
boolean |
hasError()
Error indicates that the token couldn't be checked
+optional
|
boolean |
hasUser()
User is the UserInfo associated with the provided token.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;boolean getAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;boolean hasUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;V1Authentication.UserInfo getUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;V1Authentication.UserInfoOrBuilder getUserOrBuilder()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;List<String> getAudiencesList()
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;int getAudiencesCount()
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;String getAudiences(int index)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;com.google.protobuf.ByteString getAudiencesBytes(int index)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;boolean hasError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;String getError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;com.google.protobuf.ByteString getErrorBytes()
Error indicates that the token couldn't be checked +optional
optional string error = 3;Copyright © 2021. All rights reserved.