mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-08-20 03:46:29 +00:00
22 lines
514 B
Go
22 lines
514 B
Go
package scimsync
|
|
|
|
import (
|
|
"github.com/pocket-id/pocket-id/backend/internal/model"
|
|
datatype "github.com/pocket-id/pocket-id/backend/internal/model/types"
|
|
)
|
|
|
|
type ServiceProvider struct {
|
|
model.Base
|
|
|
|
Endpoint string `sortable:"true"`
|
|
Token datatype.EncryptedString
|
|
LastSyncedAt *datatype.DateTime `sortable:"true"`
|
|
|
|
OidcClientID string
|
|
OidcClient model.OidcClient `gorm:"foreignKey:OidcClientID;references:ID;"`
|
|
}
|
|
|
|
func (ServiceProvider) TableName() string {
|
|
return "scim_service_providers"
|
|
}
|