mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 13:07:14 +00:00
Supervisor should emit a warning when access token lifetime is too short
This commit is contained in:
@@ -43,6 +43,10 @@ type CustomSessionData struct {
|
||||
// Used during a downstream refresh to decide which upstream to refresh.
|
||||
ProviderType ProviderType `json:"providerType"`
|
||||
|
||||
// Warnings that were encountered at some point during login that should be emitted to the client.
|
||||
// These will be RFC 2616-formatted errors with error code 299.
|
||||
Warnings []string `json:"warnings"`
|
||||
|
||||
// Only used when ProviderType == "oidc".
|
||||
OIDC *OIDCSessionData `json:"oidc,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user