View Source Buckets.Adapters.GCS.AuthServer (Buckets v1.0.0-rc.3)
GenServer that manages Google Cloud Storage access tokens.
Automatically refreshes tokens before they expire to ensure uninterrupted access to GCS APIs.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets a valid access token from a specific server, refreshing if necessary.
Forces a token refresh.
Starts the token server.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Gets a valid access token from a specific server, refreshing if necessary.
Forces a token refresh.
Starts the token server.
If opts[:cloud] exists, starts in named mode with the cloud module. Otherwise, treats opts as config and starts in nameless mode.