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

Class PasswordCredentialsTokenProvider

python/test.py:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 context.set_details('Method not implemented!')
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 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…