MCPcopy Index your code
hub / github.com/ory/fosite / wrapSigningKeyFailure

Function wrapSigningKeyFailure

authorize_request_handler.go:26–32  ·  view source on GitHub ↗
(outer *RFC6749Error, inner error)

Source from the content-addressed store, hash-verified

24)
25
26func wrapSigningKeyFailure(outer *RFC6749Error, inner error) *RFC6749Error {
27 outer = outer.WithWrap(inner).WithDebug(inner.Error())
28 if e := new(RFC6749Error); errors.As(inner, &e) {
29 return outer.WithHintf("%s %s", outer.Reason(), e.Reason())
30 }
31 return outer
32}
33
34func (f *Fosite) authorizeRequestParametersFromOpenIDConnectRequest(ctx context.Context, request *AuthorizeRequest, isPARRequest bool) error {
35 var scope Arguments = RemoveEmpty(strings.Split(request.Form.Get("scope"), " "))

Calls 5

WithDebugMethod · 0.80
WithWrapMethod · 0.80
WithHintfMethod · 0.80
ReasonMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…