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

com.capitalone.dashboard.service.UserInfoService Maven / Gradle / Ivy

There is a newer version: 3.4.53
Show newest version
package com.capitalone.dashboard.service;

import java.util.Collection;

import org.springframework.security.core.GrantedAuthority;

import com.capitalone.dashboard.model.AuthType;
import com.capitalone.dashboard.model.UserInfo;

public interface UserInfoService {

	Collection getAuthorities(String username, String firstName, String middleName, String lastName, String displayName, String emailAddress, AuthType authType);
	UserInfo getUserInfo(String username, String firstName, String middleName, String lastName, String displayName, String emailAddress, AuthType authType);
	Collection getUsers();
    UserInfo promoteToAdmin(String username, AuthType authType);
    UserInfo demoteFromAdmin(String username, AuthType authType);
	boolean isUserValid(String userId, AuthType authType);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy