Interface GenerateUserAPITokenResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateUserAPITokenResponse, GenerateUserAPITokenResponse.Builder

@Generated public interface GenerateUserAPITokenResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The generated JWT token for API authentication.
    com.google.protobuf.ByteString
    The generated JWT token for API authentication.

    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

    • getToken

      String getToken()
      The generated JWT token for API authentication.
      This token is signed with the server's secret key and has the "api" audience.
      The token does not expire but can be invalidated by updating the user's min_issued_at.
      Should be stored securely as it grants full access as the specified user.
      
      string token = 1;
      Returns:
      The token.
    • getTokenBytes

      com.google.protobuf.ByteString getTokenBytes()
      The generated JWT token for API authentication.
      This token is signed with the server's secret key and has the "api" audience.
      The token does not expire but can be invalidated by updating the user's min_issued_at.
      Should be stored securely as it grants full access as the specified user.
      
      string token = 1;
      Returns:
      The bytes for token.