示例#1
0
 public async Task <AccessTokenOutput> SessionKey(AccessTokenInput input)
 {
     return(await accountService.SessionKey(input));
 }
 public Task SignInWithFacebookAccessTokenAsync(
     [FromServices] ICreyService <OAuthRepository> oAuthRepository,
     [FromBody] AccessTokenInput accessTokenInput)
 {
     return(oAuthRepository.Value.FacebookSignIn(accessTokenInput.AccessToken, HttpContext.RequestAborted));
 }