@@ -176,15 +176,15 @@ type OAuth2Provider interface {
176
176
IntrospectToken (ctx context.Context , token string , tokenUse TokenUse , session Session , scope ... string ) (TokenUse , AccessRequester , error )
177
177
178
178
// NewIntrospectionRequest initiates token introspection as defined in
179
- // https://tools.ietf.org/search /rfc7662#section-2.1
179
+ // https://tools.ietf.org/html /rfc7662#section-2.1
180
180
NewIntrospectionRequest (ctx context.Context , r * http.Request , session Session ) (IntrospectionResponder , error )
181
181
182
182
// WriteIntrospectionError responds with an error if token introspection failed as defined in
183
- // https://tools.ietf.org/search /rfc7662#section-2.3
183
+ // https://tools.ietf.org/html /rfc7662#section-2.3
184
184
WriteIntrospectionError (ctx context.Context , rw http.ResponseWriter , err error )
185
185
186
186
// WriteIntrospectionResponse responds with token metadata discovered by token introspection as defined in
187
- // https://tools.ietf.org/search /rfc7662#section-2.2
187
+ // https://tools.ietf.org/html /rfc7662#section-2.2
188
188
WriteIntrospectionResponse (ctx context.Context , rw http.ResponseWriter , r IntrospectionResponder )
189
189
190
190
// NewPushedAuthorizeRequest validates the request and produces an AuthorizeRequester object that can be stored
@@ -202,7 +202,7 @@ type OAuth2Provider interface {
202
202
203
203
// IntrospectionResponder is the response object that will be returned when token introspection was successful,
204
204
// for example when the client is allowed to perform token introspection. Refer to
205
- // https://tools.ietf.org/search /rfc7662#section-2.2 for more details.
205
+ // https://tools.ietf.org/html /rfc7662#section-2.2 for more details.
206
206
type IntrospectionResponder interface {
207
207
// IsActive returns true if the introspected token is active and false otherwise.
208
208
IsActive () bool
0 commit comments