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

Method Refresh

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

Source from the content-addressed store, hash-verified

20
21class RefreshProvider(cells_auth_pb2_grpc.AuthTokenRefresherServicer):
22 def Refresh(self, request, context):
23 print("Refreshing")
24 return cells_auth_pb2.RefreshTokenResponse(
25 AccessToken="thisisanaccesstoken",
26 IDToken="thisisanidtoken",
27 RefreshToken="thisisarefreshtoken",
28 Expiry=1000,
29 )
30
31
32class PasswordCredentialsCodeProvider(cells_auth_pb2_grpc.PasswordCredentialsCodeServicer):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected