POST Api/Invoke/VerifyIdentity

验证用户当前登录状态(Token)

Request Information

URI Parameters

None.

Body Parameters

(TokenBinding模型Scheme可为空)

SpeedPower.Utility.Models.Service.MIUsers.TokenBindingModel
NameDescriptionTypeAdditional information
Scheme

用于身份验证的方案

string

None.

Parameter

包含身份验证信息的凭据

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Scheme": "sample string 1",
  "Parameter": "sample string 2"
}

Response Information

Resource Description

验证用户当前登录状态(Token)

SpeedPower.Utility.Models.Service.MIUsers.UserModel
NameDescriptionTypeAdditional information
UserInfo

用户信息

SpeedPower.Utility.Models.Service.MIUsers.UserInfoModel

None.

RolesInfo

权限信息

Collection of SpeedPower.Utility.Models.Service.MIUsers.RoleInfoModel

None.

Response Formats

application/json, text/json

Sample:
{
  "UserInfo": {
    "UserId": "sample string 1",
    "UserName": "sample string 2",
    "CompanyId": "sample string 3",
    "PhoneNumber": "sample string 4",
    "Email": "sample string 5",
    "Creater": "sample string 6",
    "Time": "2024-12-24T02:46:44.4325029+08:00",
    "Locked": true,
    "LockoutEnabled": true,
    "LockoutEndDateUtc": "2024-12-24T02:46:44.4325029+08:00",
    "LoginAddress": "sample string 10",
    "LoginTime": "2024-12-24T02:46:44.4325029+08:00"
  },
  "RolesInfo": [
    {
      "RoleId": "sample string 1",
      "RoleName": "sample string 2",
      "Remark": "sample string 3"
    },
    {
      "RoleId": "sample string 1",
      "RoleName": "sample string 2",
      "Remark": "sample string 3"
    }
  ]
}