Class SecureSessionAgent (1.38.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass SecureSessionAgentUtilities to fetch the S2A (Secure Session Agent) address from the mTLS configuration.
mTLS configuration is queried from the MDS MTLS Autoconfiguration endpoint. See https://google.aip.dev/auth/4115 for details.
This is an experimental utility.
Inherited Members
Static Methods
create()
publicstaticSecureSessionAgentcreate()| Returns | |
|---|---|
| Type | Description |
SecureSessionAgent |
default instance of SecureSessionAgent |
newBuilder()
publicstaticSecureSessionAgent.BuildernewBuilder()| Returns | |
|---|---|
| Type | Description |
SecureSessionAgent.Builder |
|
Methods
getConfig()
publicSecureSessionAgentConfiggetConfig()This method makes a network call to MDS to get the SecureSessionAgentConfig which contains the plaintext and mtls address to reach the S2A (Secure Session Agent).
| Returns | |
|---|---|
| Type | Description |
SecureSessionAgentConfig |
a SecureSessionAgentConfig. |