mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
ec5020bebc
* begin refresh tokens * refresh tokens * list and revoke refresh tokens * handle remove * tests for refresh tokens * uniqueness and default expiration * rename oidc token methods * cleanup * migration version * Update internal/static/i18n/en.yaml Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com> * fixes * feat: update oidc pkg for refresh tokens Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
19 lines
343 B
Go
19 lines
343 B
Go
package model
|
|
|
|
import (
|
|
es_models "github.com/caos/zitadel/internal/eventstore/v1/models"
|
|
"time"
|
|
)
|
|
|
|
type RefreshToken struct {
|
|
es_models.ObjectRoot
|
|
|
|
TokenID string
|
|
ApplicationID string
|
|
UserAgentID string
|
|
Audience []string
|
|
Expiration time.Time
|
|
Scopes []string
|
|
PreferredLanguage string
|
|
}
|