Ptolemy v0.2.0 Ptolemy.Auth.Google View Source
Ptolemy.Auth.Google
provides authentication functionality for Google's public APIs.
Link to this section Summary
Functions
Generates a google API access token used to authenticate your request to google's api
Generates an IAP access token used to authenticate through IAP secured resource
Request Google to sign a given JWT claim
Link to this section Functions
Link to this function
authenticate(atom, creds, exp) View Source
Generates a google API access token used to authenticate your request to google's api.
Link to this function
authenticate(atom, creds, client_id, exp) View Source
Generates an IAP access token used to authenticate through IAP secured resource.
Link to this function
req_signing(jwt_claim, svc, exp)
View Source
req_signing(jwt_claim, svc, exp)
View Source
req_signing(String.t(), map(), pos_integer()) ::
String.t() | {:error, String.t()}
req_signing(String.t(), map(), pos_integer()) :: String.t() | {:error, String.t()}
Request Google to sign a given JWT claim.