Method | Description | |
---|---|---|
AddUpdateAuthToken ( |
Adds or updates AuthToken for the particulat user and repository
|
|
GetAuthTokenStatus ( int userId, int repositoryId ) : |
Returns if the redirection required or not by checking the AuthTokens in the database
|
|
GetUserAuthToken ( int userId, int repositoryId ) : |
Gets the AuthToken
|
|
GetUserById ( int userId ) : Microsoft.Research.DataOnboarding.DomainModel.User | ||
GetUserWithRolesByNameIdentifier ( string nameIdentifier ) : Microsoft.Research.DataOnboarding.DomainModel.User |
Returns User
|
|
UserServiceProvider ( IUserRepository userRepository, IUnitOfWork unitOfWork ) : Microsoft.Research.DataOnboarding.DataAccessService | ||
UserServiceProvider ( IUserRepository userRepository, IUnitOfWork unitOfWork, IRepositoryDetails repositoryDetails ) : Microsoft.Research.DataOnboarding.DataAccessService |
Method | Description | |
---|---|---|
RegisterUser ( Microsoft.Research.DataOnboarding.DomainModel.User user ) : Microsoft.Research.DataOnboarding.DomainModel.User |
public AddUpdateAuthToken ( |
||
userAuthToken | AuthToken to be updated or added | |
return |
public GetAuthTokenStatus ( int userId, int repositoryId ) : |
||
userId | int | User Id |
repositoryId | int | Repository Id |
return |
public GetUserAuthToken ( int userId, int repositoryId ) : |
||
userId | int | User Id |
repositoryId | int | Repository Id |
return |
public GetUserById ( int userId ) : Microsoft.Research.DataOnboarding.DomainModel.User | ||
userId | int | |
return | Microsoft.Research.DataOnboarding.DomainModel.User |
public GetUserWithRolesByNameIdentifier ( string nameIdentifier ) : Microsoft.Research.DataOnboarding.DomainModel.User | ||
nameIdentifier | string | NameIndentifier of the user |
return | Microsoft.Research.DataOnboarding.DomainModel.User |
public UserServiceProvider ( IUserRepository userRepository, IUnitOfWork unitOfWork ) : Microsoft.Research.DataOnboarding.DataAccessService | ||
userRepository | IUserRepository | |
unitOfWork | IUnitOfWork | |
return | Microsoft.Research.DataOnboarding.DataAccessService |
public UserServiceProvider ( IUserRepository userRepository, IUnitOfWork unitOfWork, IRepositoryDetails repositoryDetails ) : Microsoft.Research.DataOnboarding.DataAccessService | ||
userRepository | IUserRepository | |
unitOfWork | IUnitOfWork | |
repositoryDetails | IRepositoryDetails | |
return | Microsoft.Research.DataOnboarding.DataAccessService |