com.racquettrack.security.oauth.OAuth2PostCreatedOrEnabledUserService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-security-oauth2-client Show documentation
Show all versions of spring-security-oauth2-client Show documentation
An OAuth2 Client implementation for web applications using Spring Security
The newest version!
package com.racquettrack.security.oauth;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Map;
/**
* An extension point for the OAuth2 authentication mechanism that allows an application to perform
* arbitrary actions after the user has been created or become enabled.
* @author pwheeler
* @see OAuth2UserDetailsService
*/
public interface OAuth2PostCreatedOrEnabledUserService {
/**
* Extension point to allow some actions to be taken after a user has been created or become enabled.
* @param userDetails The {@link UserDetails} object created by
* {@link OAuth2UserDetailsLoader#createUser(Object, Map)}
* @param userInfo A map representing the user information returned from the OAuth Provider.
*/
void postCreatedOrEnabledUser(UserDetails userDetails, Map userInfo);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy