Interface V1Authentication.TokenRequestSpecOrBuilder

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

public static interface V1Authentication.TokenRequestSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAudiences(int index)
    Audiences are the intendend audiences of the token.
    com.google.protobuf.ByteString
    getAudiencesBytes(int index)
    Audiences are the intendend audiences of the token.
    int
    Audiences are the intendend audiences of the token.
    Audiences are the intendend audiences of the token.
    BoundObjectRef is a reference to an object that the token will be bound to.
    BoundObjectRef is a reference to an object that the token will be bound to.
    long
    ExpirationSeconds is the requested duration of validity of the request.
    boolean
    BoundObjectRef is a reference to an object that the token will be bound to.
    boolean
    ExpirationSeconds is the requested duration of validity of the request.

    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

    • getAudiencesList

      List<String> getAudiencesList()
       Audiences are the intendend audiences of the token. A recipient of a
       token must identitfy themself with an identifier in the list of
       audiences of the token, and otherwise should reject the token. A
       token issued for multiple audiences may be used to authenticate
       against any of the audiences listed but implies a high degree of
       trust between the target audiences.
       
      repeated string audiences = 1;
    • getAudiencesCount

      int getAudiencesCount()
       Audiences are the intendend audiences of the token. A recipient of a
       token must identitfy themself with an identifier in the list of
       audiences of the token, and otherwise should reject the token. A
       token issued for multiple audiences may be used to authenticate
       against any of the audiences listed but implies a high degree of
       trust between the target audiences.
       
      repeated string audiences = 1;
    • getAudiences

      String getAudiences(int index)
       Audiences are the intendend audiences of the token. A recipient of a
       token must identitfy themself with an identifier in the list of
       audiences of the token, and otherwise should reject the token. A
       token issued for multiple audiences may be used to authenticate
       against any of the audiences listed but implies a high degree of
       trust between the target audiences.
       
      repeated string audiences = 1;
    • getAudiencesBytes

      com.google.protobuf.ByteString getAudiencesBytes(int index)
       Audiences are the intendend audiences of the token. A recipient of a
       token must identitfy themself with an identifier in the list of
       audiences of the token, and otherwise should reject the token. A
       token issued for multiple audiences may be used to authenticate
       against any of the audiences listed but implies a high degree of
       trust between the target audiences.
       
      repeated string audiences = 1;
    • hasExpirationSeconds

      boolean hasExpirationSeconds()
       ExpirationSeconds is the requested duration of validity of the request. The
       token issuer may return a token with a different validity duration so a
       client needs to check the 'expiration' field in a response.
       +optional
       
      optional int64 expirationSeconds = 4;
    • getExpirationSeconds

      long getExpirationSeconds()
       ExpirationSeconds is the requested duration of validity of the request. The
       token issuer may return a token with a different validity duration so a
       client needs to check the 'expiration' field in a response.
       +optional
       
      optional int64 expirationSeconds = 4;
    • hasBoundObjectRef

      boolean hasBoundObjectRef()
       BoundObjectRef is a reference to an object that the token will be bound to.
       The token will only be valid for as long as the bound object exists.
       NOTE: The API server's TokenReview endpoint will validate the
       BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
       small if you want prompt revocation.
       +optional
       
      optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
    • getBoundObjectRef

       BoundObjectRef is a reference to an object that the token will be bound to.
       The token will only be valid for as long as the bound object exists.
       NOTE: The API server's TokenReview endpoint will validate the
       BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
       small if you want prompt revocation.
       +optional
       
      optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
    • getBoundObjectRefOrBuilder

       BoundObjectRef is a reference to an object that the token will be bound to.
       The token will only be valid for as long as the bound object exists.
       NOTE: The API server's TokenReview endpoint will validate the
       BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
       small if you want prompt revocation.
       +optional
       
      optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;