Skip to content

Commit d899bc5

Browse files
ngocnhan-tran1996rwinch
authored andcommitted
Polish javadoc
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 8d7f6ac commit d899bc5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/introspection/OpaqueTokenIntrospector.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
1616

1717
package org.springframework.security.oauth2.server.resource.introspection;
1818

19-
import java.util.Map;
20-
2119
import org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal;
2220

2321
/**
@@ -40,7 +38,7 @@ public interface OpaqueTokenIntrospector {
4038
/**
4139
* Introspect and verify the given token, returning its attributes.
4240
*
43-
* Returning a {@link Map} is indicative that the token is valid.
41+
* Returning a {@link OAuth2AuthenticatedPrincipal} is indicative that the token is valid.
4442
* @param token the token to introspect
4543
* @return the token's attributes
4644
*/

0 commit comments

Comments
 (0)