Beispiel #1
0
 public async Task <IActionResult> MicrosoftGraph([FromBody] CredentialsDTO accessToken)
 {
     return(new OkObjectResult(await _loginUserUseCase.Execute(accessToken.AccessToken)));
 }
Beispiel #2
0
 public async Task <IActionResult> Hoshin([FromBody] CredentialsDTO credentials)
 {
     return(new OkObjectResult(await _loginUserUseCase.Execute(credentials.UserName, credentials.Password, credentials.IsLocked)));
 }