MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / get_oauth_header

Method get_oauth_header

service/esiAccess.py:179–184  ·  view source on GitHub ↗

Return the Bearer Authorization header required in oauth calls :return: a dict with the authorization header

(self, token)

Source from the content-addressed store, hash-verified

177 )
178
179 def get_oauth_header(self, token):
180 """ Return the Bearer Authorization header required in oauth calls
181
182 :return: a dict with the authorization header
183 """
184 return {'Authorization': 'Bearer %s' % token}
185
186 def auth(self, code):
187 values = {

Callers 1

_before_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected