forked from Silverfish/proton-bridge
feat: make store use ClientManager
This commit is contained in:
@ -51,3 +51,11 @@ type CredentialsStorer interface {
|
||||
Logout(userID string) error
|
||||
Delete(userID string) error
|
||||
}
|
||||
|
||||
type ClientManager interface {
|
||||
GetClient(userID string) pmapi.Client
|
||||
GetAnonymousClient() pmapi.Client
|
||||
AllowProxy()
|
||||
DisallowProxy()
|
||||
GetBridgeAuthChannel() chan pmapi.ClientAuth
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user