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 TypeMethodDescriptiongetToken()The generated JWT token for API authentication.com.google.protobuf.ByteStringThe generated JWT token for API authentication.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-