WFKS.Check.Api.AuthApi

All URIs are relative to https://my.wanfangdata.com.cn/auth/user

Method HTTP request Description
AuthGet GET /suballredirectlogin.do 认证

AuthGet

AuthResponse AuthGet (string username, string password)

认证

示例

using System;
using System.Diagnostics;
using WFKS.Check.Api;
using IO.Swagger.Client;
using WFKS.Check.Model;

namespace Example
{
    public class AuthGetExample
    {
        public void main()
        {
            var apiInstance = new AuthApi("https://my.wanfangdata.com.cn/auth/user");
            var username = username_example;  // string | 用户名
            var password = password_example;  // string | 密码

            try
            {
                // 认证
                AuthResponse result = apiInstance.AuthGet(username, password);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuthApi.AuthGet: " + e.Message );
            }
        }
    }
}

参数

Name Type Description Notes
username string 用户名
password string 密码

Return type

AuthResponse

授权

No authorization required

HTTP请求头

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

results matching ""

    No results matching ""