View Source GoogleCerts.CertificateCache (Google Certificates v1.0.0)
Agent to hold the current public certs that google uses to sign JWTs
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Get and refresh GoogleCerts.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Specs
get() :: GoogleCerts.Certificates.t()
Get and refresh GoogleCerts.
Cached GoogleCerts are returned if they are not expired, otherwise a network request is made
to get and cache the latest certificates. See GoogleCerts.refresh/1
Specs
serialize(GoogleCerts.Certificates.t()) :: GoogleCerts.Certificates.t()
Specs
start_link([] | GoogleCerts.Certificates.t()) :: GenServer.on_start()