Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions api/v1alpha1/oidc_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,25 @@ type OIDCCookieNames struct {
// If not specified, defaults to "IdToken-(randomly generated uid)"
// +optional
IDToken *string `json:"idToken,omitempty"`
// The name of the cookie used to store the RefreshToken in the
// [Refresh Request](https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokens).
// If not specified, defaults to "RefreshToken-(randomly generated uid)"
// +optional
// +notImplementedHide
RefreshToken *string `json:"refreshToken,omitempty"`
// The name of the cookie used to store the expiry time of the OAuth tokens.
// If not specified, defaults to "OauthExpires-(randomly generated uid)"
// +optional
// +notImplementedHide
OauthExpires *string `json:"oauthExpires,omitempty"`
// The name of the cookie used to store the nonce value used to generate OAuth tokens.
// If not specified, defaults to "OauthNonce-(randomly generated uid)"
// +optional
// +notImplementedHide
OauthNonce *string `json:"oauthNonce,omitempty"`
// The name of the cookie used to store the HMAC of OAuth tokens.
// If not specified, defaults to "OauthHMAC-(randomly generated uid)"
// +optional
// +notImplementedHide
OauthHMAC *string `json:"oauthHMAC,omitempty"`
}
20 changes: 20 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3527,6 +3527,27 @@ spec:
[Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
If not specified, defaults to "IdToken-(randomly generated uid)"
type: string
oauthExpires:
description: |-
The name of the cookie used to store the expiry time of the OAuth tokens.
If not specified, defaults to "OauthExpires-(randomly generated uid)"
type: string
oauthHMAC:
description: |-
The name of the cookie used to store the HMAC of OAuth tokens.
If not specified, defaults to "OauthHMAC-(randomly generated uid)"
type: string
oauthNonce:
description: |-
The name of the cookie used to store the nonce value used to generate OAuth tokens.
If not specified, defaults to "OauthNonce-(randomly generated uid)"
type: string
refreshToken:
description: |-
The name of the cookie used to store the RefreshToken in the
[Refresh Request](https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokens).
If not specified, defaults to "RefreshToken-(randomly generated uid)"
type: string
type: object
defaultRefreshTokenTTL:
description: |-
Expand Down