Polish OAuth2TokenCustomizer

This commit is contained in:
Joe Grandja
2021-08-18 11:26:12 -04:00
parent 9388002158
commit 42d611828a

View File

@@ -22,16 +22,16 @@ package org.springframework.security.oauth2.server.authorization;
* @author Joe Grandja
* @since 0.1.0
* @see OAuth2TokenContext
* @param <C> the type of the context containing the OAuth 2.0 Token attributes
* @param <T> the type of the context containing the OAuth 2.0 Token attributes
*/
@FunctionalInterface
public interface OAuth2TokenCustomizer<C extends OAuth2TokenContext> {
public interface OAuth2TokenCustomizer<T extends OAuth2TokenContext> {
/**
* Customize the OAuth 2.0 Token attributes.
*
* @param context the context containing the OAuth 2.0 Token attributes
*/
void customize(C context);
void customize(T context);
}