mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-14 21:32:23 +03:00
mas: added localpart_external_ids table
This commit is contained in:
parent
e1dfe62b20
commit
150be588f5
8 changed files with 242 additions and 0 deletions
|
@ -471,6 +471,14 @@ type OpenIDTokenAttributes struct {
|
|||
ExpiresAtMS int64
|
||||
}
|
||||
|
||||
// LocalpartExternalID represents a connection between Matrix account and OpenID Connect provider
|
||||
type LocalpartExternalID struct {
|
||||
Localpart string
|
||||
ExternalID string
|
||||
AuthProvider string
|
||||
CreatedTs int64
|
||||
}
|
||||
|
||||
// UserInfo is for returning information about the user an OpenID token was issued for
|
||||
type UserInfo struct {
|
||||
Sub string // The Matrix user's ID who generated the token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue