Class SecureSessionAgent
java.lang.Object
com.google.auth.oauth2.SecureSessionAgent
Utilities 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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SecureSessionAgentcreate()This method makes a network call to MDS to get theSecureSessionAgentConfigwhich contains the plaintext and mtls address to reach the S2A (Secure Session Agent).static SecureSessionAgent.Builder
-
Method Details
-
getConfig
This method makes a network call to MDS to get theSecureSessionAgentConfigwhich contains the plaintext and mtls address to reach the S2A (Secure Session Agent).- Returns:
- a SecureSessionAgentConfig.
-
create
- Returns:
- default instance of SecureSessionAgent
-
newBuilder
-