MCPcopy Create free account
hub / github.com/GerevAI/gerev / __init__

Method __init__

app/data_source/sources/bookstack/bookstack.py:22–25  ·  view source on GitHub ↗
(self, token_id, token_secret, header_key="Authorization")

Source from the content-addressed store, hash-verified

20
21class BookStackAuth(AuthBase):
22 def __init__(self, token_id, token_secret, header_key="Authorization"):
23 self.header_key = header_key
24 self.token_id = token_id
25 self.token_secret = token_secret
26
27 def __call__(self, r):
28 r.headers[self.header_key] = f"Token {self.token_id}:{self.token_secret}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected