Paypal.Auth.Worker (Paypal v0.1.0)
View SourceThe worker is performing the refresh of the token.
Summary
Types
The internal structure for the auth of Paypal is composed of
a access
entry (see Paypal.Auth.Access.t()
for further information),
and timer_ref
, a reference for the current and active timer.
Functions
Returns a specification to start this module under a supervisor.
Get the access token stored in the worker.
Performs a manual refresh for the access token.
Types
@type t() :: %Paypal.Auth.Worker{ access: nil | Paypal.Auth.Access.t(), timer_ref: nil | reference() }
The internal structure for the auth of Paypal is composed of
a access
entry (see Paypal.Auth.Access.t()
for further information),
and timer_ref
, a reference for the current and active timer.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Get the access token stored in the worker.
Performs a manual refresh for the access token.