All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.corbel.iam.ioc.TokenVerifiersIoc Maven / Gradle / Ivy

There is a newer version: 1.44.0
Show newest version
package io.corbel.iam.ioc;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import io.corbel.iam.repository.UserRepository;
import io.corbel.iam.verifier.UserExistsTokenVerifier;

/**
 * @author Alberto J. Rubio
 *
 */
@Configuration public class TokenVerifiersIoc {

    @Bean
    public UserExistsTokenVerifier userExistsTokenVerifier(UserRepository userRepository) {
        return new UserExistsTokenVerifier(userRepository);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy