Package io.kubernetes.client.proto
Interface V1Authentication.TokenReviewStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Authentication.TokenReviewStatus
,V1Authentication.TokenReviewStatus.Builder
- Enclosing class:
- V1Authentication
public static interface V1Authentication.TokenReviewStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAudiences
(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
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token.Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token.boolean
Authenticated indicates that the token was associated with a known user.getError()
Error indicates that the token couldn't be checked +optionalcom.google.protobuf.ByteString
Error indicates that the token couldn't be checked +optionalgetUser()
User is the UserInfo associated with the provided token.User is the UserInfo associated with the provided token.boolean
Authenticated indicates that the token was associated with a known user.boolean
hasError()
Error indicates that the token couldn't be checked +optionalboolean
hasUser()
User is the UserInfo associated with the provided token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAuthenticated
boolean hasAuthenticated()Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;
-
getAuthenticated
boolean getAuthenticated()Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;
-
hasUser
boolean hasUser()User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;
-
getUser
V1Authentication.UserInfo getUser()User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;
-
getUserOrBuilder
V1Authentication.UserInfoOrBuilder getUserOrBuilder()User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;
-
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;
-
getAudiencesCount
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;
-
getAudiences
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;
-
getAudiencesBytes
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;
-
hasError
boolean hasError()Error indicates that the token couldn't be checked +optional
optional string error = 3;
-
getError
String getError()Error indicates that the token couldn't be checked +optional
optional string error = 3;
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()Error indicates that the token couldn't be checked +optional
optional string error = 3;
-