MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / AddCookie

Method AddCookie

internal/service/sideeffects.go:72–77  ·  view source on GitHub ↗

AddCookie appends a cookie to the side-effects. Convenience over manual slice ops; safe on a zero-value receiver.

(c *http.Cookie)

Source from the content-addressed store, hash-verified

70// AddCookie appends a cookie to the side-effects. Convenience over manual
71// slice ops; safe on a zero-value receiver.
72func (s *ResponseSideEffects) AddCookie(c *http.Cookie) {
73 if c == nil {
74 return
75 }
76 s.Cookies = append(s.Cookies, c)
77}
78
79// MetaFromGin builds a RequestMetadata from a gin.Context. The gin-aware
80// transport (GraphQL resolver, REST handler mounted under Gin) calls this

Callers 15

ResendOTPMethod · 0.95
LoginMethod · 0.95
SessionMethod · 0.95
SignUpMethod · 0.95
UpdateProfileMethod · 0.95
VerifyEmailMethod · 0.95
LogoutMethod · 0.95
ForgotPasswordMethod · 0.95
AdminLoginMethod · 0.95
AdminLogoutMethod · 0.95
AdminSessionMethod · 0.95

Calls

no outgoing calls