Class AuthService

java.lang.Object
cn.vertxup.rbac.service.login.AuthService
All Implemented Interfaces:
AuthStub

public class AuthService extends Object implements AuthStub
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    authorize(io.vertx.core.json.JsonObject filters)
    Exchange authorization code by filters ( JsonObject )
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    login(io.vertx.core.json.JsonObject params)
    Login with "username/password"
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    token(io.vertx.core.json.JsonObject params, io.vertx.ext.web.Session session)
    Exchange token with authorization code

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthService

      public AuthService()
  • Method Details

    • authorize

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> authorize(io.vertx.core.json.JsonObject filters)
      Description copied from interface: AuthStub
      Exchange authorization code by filters ( JsonObject )
      Specified by:
      authorize in interface AuthStub
    • token

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> token(io.vertx.core.json.JsonObject params, io.vertx.ext.web.Session session)
      Description copied from interface: AuthStub
      Exchange token with authorization code
      Specified by:
      token in interface AuthStub
    • login

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> login(io.vertx.core.json.JsonObject params)
      Description copied from interface: AuthStub
      Login with "username/password"
      Specified by:
      login in interface AuthStub