java.lang.Object
xyz.raylab.authorizationserver.auth.infrastructure.ohs.AuthOHS
所有已实现的接口:
xyz.raylab.support.ohs.OHSSupport

@RestController @RequestMapping("/auth") public class AuthOHS extends Object implements xyz.raylab.support.ohs.OHSSupport
认证的公开主机服务
作者:
ray_kwan5
  • 字段概要

    从接口继承的字段 xyz.raylab.support.ohs.OHSSupport

    LOGGER
  • 构造器概要

    构造器
    构造器
    说明
    AuthOHS(AuthQueryAppService queryAppService)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    xyz.raylab.support.ohs.ResourceResponseBody
    getLoginUser(String authorization)
    获取登录用户
    令牌自省

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 xyz.raylab.support.ohs.OHSSupport

    failedBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, resourceResponseBody, succeededBody
  • 构造器详细资料

  • 方法详细资料

    • getLoginUser

      @GetMapping("/login-user") public xyz.raylab.support.ohs.ResourceResponseBody getLoginUser(@RequestHeader("Authorization") String authorization)
      获取登录用户
      参数:
      authorization -
      返回:
    • introspect

      @PostMapping("/introspect") public IntrospectResult introspect(@RequestParam(value="token",required=false) String token)
      令牌自省
      参数:
      token -
      返回: