package com.zhangmeng.api.service.oauth;

import com.zhangmeng.model.entity.User;
import com.zhangmeng.model.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.Map;

@Api(tags = "用户授权管理")
public interface AuthControllerApi {

    @ApiOperation("令牌解析")
    public Map<String,Object> parseToken(String token);

    @ApiOperation("用户授权")
    public Result login(String username, String password);
}
