MCPcopy Create free account
hub / github.com/pydio/cells / VerifyProvider

Class VerifyProvider

python/test.py:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11from grpc_health.v1 import health_pb2_grpc
12
13class VerifyProvider(cells_auth_pb2_grpc.AuthTokenVerifierServicer):
14 def Verify(self, request, context):
15 print("Verifying")
16 return cells_auth_pb2.VerifyTokenResponse(
17 Success=True,
18 Data="{\"sub\": \"ee43ecf4-6c9e-4eab-ba85-6fdf746c3724\"}".encode(encoding='UTF-8'),
19 )
20
21class RefreshProvider(cells_auth_pb2_grpc.AuthTokenRefresherServicer):
22 def Refresh(self, request, context):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…