| 14 | ) |
| 15 | |
| 16 | type OpenIDConnectImplicitHandler struct { |
| 17 | *IDTokenHandleHelper |
| 18 | |
| 19 | AuthorizeImplicitGrantTypeHandler *oauth2.AuthorizeImplicitGrantHandler |
| 20 | OpenIDConnectRequestValidator *OpenIDConnectRequestValidator |
| 21 | RS256JWTStrategy *jwt.DefaultSigner |
| 22 | |
| 23 | Config interface { |
| 24 | fosite.IDTokenLifespanProvider |
| 25 | fosite.MinParameterEntropyProvider |
| 26 | fosite.ScopeStrategyProvider |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func (c *OpenIDConnectImplicitHandler) HandleAuthorizeEndpointRequest(ctx context.Context, ar fosite.AuthorizeRequester, resp fosite.AuthorizeResponder) error { |
| 31 | if !(ar.GetGrantedScopes().Has("openid") && (ar.GetResponseTypes().Has("token", "id_token") || ar.GetResponseTypes().ExactOne("id_token"))) { |
nothing calls this directly
no outgoing calls
no test coverage detected