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

Method Verify

python/test.py:14–19  ·  view source on GitHub ↗
(self, request, context)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected