Interface GenerateAccessTokenResponseOrBuilder (0.33.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
Type Description
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
Type Description
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
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Time at which the generated token will expire.

.google.protobuf.Timestamp expire_time = 2;

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

public abstract boolean hasExpireTime()

Time at which the generated token will expire.

.google.protobuf.Timestamp expire_time = 2;

Returns
Type Description
boolean

Whether the expireTime field is set.