public async Task <IActionResult> DisplayLoggedInProfile() { var clientId = ClaimsHelper.GetUser(User.Identity).Id; var streamsId = await _streamsIdRepository.GetOrCreateAsync(clientId); return(await DisplayUserProfile(streamsId.StreamsId)); }
private CompetitionPlatformUser GetAuthenticatedUser() { return(ClaimsHelper.GetUser(User.Identity)); }
public static UserModel GetAuthenticatedUser(IIdentity identity) { return(ClaimsHelper.GetUser(identity)); }