Class StsTokenExchangeResponse

java.lang.Object
com.google.auth.oauth2.StsTokenExchangeResponse

public final class StsTokenExchangeResponse extends Object
Represents a successful OAuth 2.0 token exchange response from the Google Security Token Service (STS), as defined in RFC 8693, Section 2.2.1.

This class provides access to the exchanged access token, issued token type, token type, expiration time, refresh token (optional), scopes (optional), and the access boundary session key (optional).

Instances are immutable. Use newBuilder(String, String, String) to create an instance.