MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / generate_jwt_token

Function generate_jwt_token

api/integrations/github/client.py:65–71  ·  view source on GitHub ↗
(app_id: int)

Source from the content-addressed store, hash-verified

63
64
65def generate_jwt_token(app_id: int) -> str:
66 github_auth: Auth.AppAuth = Auth.AppAuth(
67 app_id=str(app_id),
68 private_key=settings.GITHUB_PEM,
69 )
70 token = github_auth.create_jwt()
71 return token
72
73
74def build_paginated_response(

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…