Polish javadoc

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan 2025-04-08 19:29:57 +07:00 committed by Rob Winch
parent 8d7f6acab6
commit d899bc5240

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2025 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -16,8 +16,6 @@
package org.springframework.security.oauth2.server.resource.introspection; package org.springframework.security.oauth2.server.resource.introspection;
import java.util.Map;
import org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal; import org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal;
/** /**
@ -40,7 +38,7 @@ public interface OpaqueTokenIntrospector {
/** /**
* Introspect and verify the given token, returning its attributes. * Introspect and verify the given token, returning its attributes.
* *
* Returning a {@link Map} is indicative that the token is valid. * Returning a {@link OAuth2AuthenticatedPrincipal} is indicative that the token is valid.
* @param token the token to introspect * @param token the token to introspect
* @return the token's attributes * @return the token's attributes
*/ */