mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 01:03:10 -06:00
9 lines
231 B
Go
9 lines
231 B
Go
package threepid
|
|
|
|
type storage interface {
|
|
InsertSession(*Session) error
|
|
GetSession(sid string) (*Session, error)
|
|
GetSessionByThreePidAndSecret(threePid, ClientSecret string) (*Session, error)
|
|
RemoveSession(sid string) error
|
|
}
|