class

HqTrivia::Auth

Inherits Reference < Object

Manages bearer tokens for various countries

Instance methods

headers(country)

Given a country it returns the required headers

Source
token(country : String)

Given a country it returns the bearer token from the ENV

Source