public interface TokenOptionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAudience()
public abstract String getAudience()
Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The audience. |
getAudienceBytes()
public abstract ByteString getAudienceBytes()
Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for audience. |
getNonce(int index)
public abstract String getNonce(int index)
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The nonce at the given index. |
getNonceBytes(int index)
public abstract ByteString getNonceBytes(int index)
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the nonce at the given index. |
getNonceCount()
public abstract int getNonceCount()
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of nonce. |
getNonceList()
public abstract List<String> getNonceList()
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the nonce. |
getTokenType()
public abstract TokenType getTokenType()
Optional. Optional token type to select what type of token to return.
.google.cloud.confidentialcomputing.v1.TokenType token_type = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TokenType |
The tokenType. |
getTokenTypeValue()
public abstract int getTokenTypeValue()
Optional. Optional token type to select what type of token to return.
.google.cloud.confidentialcomputing.v1.TokenType token_type = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for tokenType. |