Interface V1beta1Authentication.TokenReviewStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta1Authentication.TokenReviewStatus, V1beta1Authentication.TokenReviewStatus.Builder
Enclosing class:
V1beta1Authentication

public static interface V1beta1Authentication.TokenReviewStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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.
    Error indicates that the token couldn't be checked +optional
    com.google.protobuf.ByteString
    Error indicates that the token couldn't be checked +optional
    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
    Error indicates that the token couldn't be checked +optional
    boolean
    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.v1beta1.UserInfo user = 2;
    • getUser

       User is the UserInfo associated with the provided token.
       +optional
       
      optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;
    • getUserOrBuilder

       User is the UserInfo associated with the provided token.
       +optional
       
      optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;
    • getAudiencesList

      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;
    • 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

      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;
    • 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;