MCPcopy
hub / github.com/authlib/authlib / __init__

Method __init__

authlib/oauth2/rfc7523/token.py:32–35  ·  view source on GitHub ↗
(self, secret_key, issuer=None, alg="RS256")

Source from the content-addressed store, hash-verified

30 DEFAULT_EXPIRES_IN = 3600
31
32 def __init__(self, secret_key, issuer=None, alg="RS256"):
33 self.secret_key = import_any_key(secret_key)
34 self.issuer = issuer
35 self.alg = alg
36
37 @staticmethod
38 def get_allowed_scope(client, scope):

Callers

nothing calls this directly

Calls 1

import_any_keyFunction · 0.90

Tested by

no test coverage detected