Interface GenerateAccessTokenResponseOrBuilder (0.22.0)

public interface GenerateAccessTokenResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

public abstract String getAccessToken()

The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname—for example, Authorization: Bearer <access_token>.

string access_token = 1;

Returns
TypeDescription
String

The accessToken.

getAccessTokenBytes()

public abstract ByteString getAccessTokenBytes()

The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname—for example, Authorization: Bearer <access_token>.

string access_token = 1;

Returns
TypeDescription
ByteString

The bytes for accessToken.

getExpireTime()

public abstract Timestamp getExpireTime()

Time at which the generated token will expire.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Time at which the generated token will expire.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasExpireTime()

public abstract boolean hasExpireTime()

Time at which the generated token will expire.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
boolean

Whether the expireTime field is set.