Class TokenRequestCallback


  • public abstract class TokenRequestCallback
    extends java.lang.Object
    Represents callback in Token Request Flow. Contains tokenID and state.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static TokenRequestCallback create​(java.lang.String tokenId, java.lang.String state)  
      abstract java.lang.String getState()
      Get the state returned at the end of the Token Request Flow.
      abstract java.lang.String getTokenId()
      Get the token ID returned at the end of the Token Request Flow.
      • Methods inherited from class java.lang.Object

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

      • TokenRequestCallback

        public TokenRequestCallback()
    • Method Detail

      • create

        public static TokenRequestCallback create​(java.lang.String tokenId,
                                                  java.lang.String state)
      • getTokenId

        public abstract java.lang.String getTokenId()
        Get the token ID returned at the end of the Token Request Flow.
        Returns:
        token id
      • getState

        public abstract java.lang.String getState()
        Get the state returned at the end of the Token Request Flow. This corresponds to the state set at the beginning of the flow.
        Returns:
        state