Represents Authorization Server access token response.
Represents Authorization Server access token response.
Access token expires in one hour and can be reused until they expire.
google access token
token type
when will token expire
Exposes function which performs authorization and caches it until token is near to expire.
Represents the JWT Claims used in Google server-to-server oauth
Represents the JWT Claims used in Google server-to-server oauth
Times are IEEE Std 1003.1, 2013 Edition time in seconds. They are represented
in a java.time.Instant objects. At serialization time, they are
represented as Long
.
Note: When feeding Instant
instances directly, milliseconds are discarded
Issuer claim, Case insensitive
A space-delimited list of the permissions that the application requests
The audience Case-sensitive. Can be either a list or a single string
The token expiration time
identifies the time at which the JWT was issued
Subject, Case-sensitive string when defined
Represents settings used to connect to Google OAuth 2.0 server.
Represents settings used to connect to Google OAuth 2.0 server.
url used for creating auth requests
private key used to sign JWT token
given grant
claims specified by Google OAuth 2.0
Performs single authorization request.
Performs single authorization request.
execution context used to make http requests
side effect that evaluates to AuthResponse
Gives access to Authenticator resource that can be used to make multiple authorization requests over time.
Gives access to Authenticator resource that can be used to make multiple authorization requests over time. It creates http client when it is used and reuses it for every new request. Http client is released when resource is released. Responses are cached until token is near to expire (under one minute). After that it will make new authorization request and cache new token.
execution context used to make http requests
Authenticator resource that can be used to make multiple authorization requests over time.
Exposes stream of AuthResponses that can be used to automatically make authorization requests over time.
Exposes stream of AuthResponses that can be used to automatically make authorization requests over time. Responses are cached until token is near to expire (under one minute). After that it will make new authorization request and cache new token.
execution context used to make http requests
stream of AuthResponses
ServerToServer
provides api for performing Google server-to-server OAuth 2.0 flow. Underneath it communicates to google auth server using HTTP.https://developers.google.com/identity/protocols/OAuth2ServiceAccount