AltitudeAngelWings.ApiClient.Client.AltitudeAngelClient.GetUserProfile C# (CSharp) 메소드

GetUserProfile() 공개 메소드

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