MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / NewProcessCookieTestWithOptionsModifiers

Function NewProcessCookieTestWithOptionsModifiers

oauthproxy_test.go:908–912  ·  view source on GitHub ↗
(modifiers ...OptionsModifier)

Source from the content-addressed store, hash-verified

906}
907
908func NewProcessCookieTestWithOptionsModifiers(modifiers ...OptionsModifier) (*ProcessCookieTest, error) {
909 return NewProcessCookieTest(ProcessCookieTestOpts{
910 providerValidateCookieResponse: true,
911 }, modifiers...)
912}
913
914func (p *ProcessCookieTest) SaveSession(s *sessions.SessionState) error {
915 err := p.proxy.SaveSession(p.rw, p.req, s)

Calls 1

NewProcessCookieTestFunction · 0.85

Tested by

no test coverage detected