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

Method PasswordCredentialsToken

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

Source from the content-addressed store, hash-verified

38
39class PasswordCredentialsTokenProvider(cells_auth_pb2_grpc.PasswordCredentialsTokenServicer):
40 def PasswordCredentialsToken(self, request, context):
41 print("Returning here")
42 return cells_auth_pb2.PasswordCredentialsTokenResponse(
43 AccessToken="thisisanaccesstoken",
44 IDToken="thisisanidtoken",
45 RefreshToken="thisisarefreshtoken",
46 Expiry=1000,
47 )
48
49class UserProvider(cells_idm_pb2_grpc.UserServiceServicer):
50 def SearchUser(self, request, context):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected