momento.auth._GenerateApiTokenResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos-jvm Show documentation
Show all versions of client-protos-jvm Show documentation
Kotlin protobuf protocols for the JVM that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: auth.proto
package momento.auth;
public interface _GenerateApiTokenResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:auth._GenerateApiTokenResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* the api key used for authentication against Momento backend
*
*
* string api_key = 1;
* @return The apiKey.
*/
java.lang.String getApiKey();
/**
*
* the api key used for authentication against Momento backend
*
*
* string api_key = 1;
* @return The bytes for apiKey.
*/
com.google.protobuf.ByteString
getApiKeyBytes();
/**
*
* the token that will allow the api token to be refreshed, which will
* give you back a new refresh and api token
*
*
* string refresh_token = 2;
* @return The refreshToken.
*/
java.lang.String getRefreshToken();
/**
*
* the token that will allow the api token to be refreshed, which will
* give you back a new refresh and api token
*
*
* string refresh_token = 2;
* @return The bytes for refreshToken.
*/
com.google.protobuf.ByteString
getRefreshTokenBytes();
/**
*
* the Momento endpoint that this token is allowed to make requests against
*
*
* string endpoint = 3;
* @return The endpoint.
*/
java.lang.String getEndpoint();
/**
*
* the Momento endpoint that this token is allowed to make requests against
*
*
* string endpoint = 3;
* @return The bytes for endpoint.
*/
com.google.protobuf.ByteString
getEndpointBytes();
/**
*
* epoch seconds when the api token expires
*
*
* uint64 valid_until = 4;
* @return The validUntil.
*/
long getValidUntil();
}