Class OtpAuthHandler

    • Constructor Detail

      • OtpAuthHandler

        public OtpAuthHandler​(io.vertx.ext.web.handler.OtpAuthHandler delegate)
      • OtpAuthHandler

        public OtpAuthHandler​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static OtpAuthHandler create​(TotpAuth totpAuth)
        Parameters:
        totpAuth - the time based OTP provider.
        Returns:
        new instance of the handler.
      • create

        public static OtpAuthHandler create​(HotpAuth hotpAuth)
        Parameters:
        hotpAuth - the hash based OTP provider.
        Returns:
        new instance of the handler.
      • verifyUrl

        public OtpAuthHandler verifyUrl​(String url)
        Parameters:
        url - the location where users are to be asked for the OTP code.
        Returns:
        fluent self.
      • setupRegisterCallback

        public OtpAuthHandler setupRegisterCallback​(Route route)
        Parameters:
        route - the location where users are to register new authenticator devices/apps.
        Returns:
        fluent self.
      • setupCallback

        public OtpAuthHandler setupCallback​(Route route)
        Parameters:
        route - the location where users are to submit challenge responses from authenticator devices/apps.
        Returns:
        fluent self.
      • issuer

        public OtpAuthHandler issuer​(String issuer)
        Parameters:
        issuer - a String for example Vert.x OTP
        Returns:
        fluent self.
      • label

        public OtpAuthHandler label​(String label)
        Parameters:
        label - a String for example Vert.x OTP
        Returns:
        fluent self.
      • newInstance

        public static OtpAuthHandler newInstance​(io.vertx.ext.web.handler.OtpAuthHandler arg)