Builder

class Builder

Fluent builder for OAuth2, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets OAuth2.expiresAt from seconds since the epoch, for Java callers.

Link copied to clipboard

Sets OAuth2.expiresIn from a number of seconds, for Java callers, which can't call a function that takes a Duration.

Sets OAuth2.expiresIn in seconds, or clears it when null. The non-null overload lets Java pass an int literal.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard