认证接口
description
依赖
Getting Started
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class Example
{
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 );
}
}
}
}
Documentation for API Endpoints
All URIs are relative to https://my.wanfangdata.com.cn/auth/user
Class | Method | HTTP request | Description |
---|---|---|---|
AuthApi | AuthGet | GET /suballredirectlogin.do | 认证 |