Interface GenerateAPITokenResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateAPITokenResponse, GenerateAPITokenResponse.Builder
@Generated
public interface GenerateAPITokenResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetToken()A JWT token with "api" audience that can be used to authenticate gRPC/HTTP API requests.com.google.protobuf.ByteStringA JWT token with "api" audience that can be used to authenticate gRPC/HTTP API requests.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()A JWT token with "api" audience that can be used to authenticate gRPC/HTTP API requests. This token should be included in the Authorization header for subsequent API calls.
string token = 1;- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()A JWT token with "api" audience that can be used to authenticate gRPC/HTTP API requests. This token should be included in the Authorization header for subsequent API calls.
string token = 1;- Returns:
- The bytes for token.
-