AltitudeAngelWings.ApiClient.Client.AltitudeAngelClient.GetUserProfile C# (CSharp) Method

GetUserProfile() public method

Get the user profile for the current user. Must be using user auth. Required scopes: query_userinfo
public GetUserProfile ( ) : Task
return Task
        public Task<UserProfileInfo> GetUserProfile()
        {
            return _authUrl
                .AppendPathSegment("userProfile")
                .WithClient(_client)
                .GetJsonAsync<UserProfileInfo>();
        }