Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppClientID = "numaflow-server-app" StateCookieName = "numaflow-oauthstate" StateCookieMaxAge = 60 * 5 UserIdentityCookieName = "numaflow.token" UserIdentityCookieMaxAge = 60 * 60 * 8 // 8 hours )
Variables ¶
This section is empty.
Functions ¶
func JoinCookies ¶
JoinCookies combines chunks of cookie based on Key as prefix. It returns cookie Value as string. cookieString is of format key1=value1; key2=value2; key3=value3 first chunk will be of format numaflow.token=<numberOfChunks>:token; attributes
Types ¶
type IdentityCookie ¶
func MakeCookieMetadata ¶
func MakeCookieMetadata(key, value string) ([]IdentityCookie, error)
MakeCookieMetadata generates a string representing a Web cookie. Yum!
type InvalidCookieError ¶
type InvalidCookieError struct {
Key string
}
func (*InvalidCookieError) Error ¶
func (e *InvalidCookieError) Error() string
Click to show internal directories.
Click to hide internal directories.