Interface OAuth2OrBuilder (0.18.0)

public interface OAuth2OrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientId()

public abstract String getClientId()

The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.

string client_id = 1;

Returns
Type Description
String

The clientId.

getClientIdBytes()

public abstract ByteString getClientIdBytes()

The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.

string client_id = 1;

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public abstract String getClientSecret()

Input only. The OAuth 2.0 client secret created while registering the client ID.

string client_secret = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public abstract ByteString getClientSecretBytes()

Input only. The OAuth 2.0 client secret created while registering the client ID.

string client_secret = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientSecret.

getClientSecretSha256()

public abstract String getClientSecretSha256()

Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.

string client_secret_sha256 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clientSecretSha256.

getClientSecretSha256Bytes()

public abstract ByteString getClientSecretSha256Bytes()

Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.

string client_secret_sha256 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientSecretSha256.