Interface TokenStore

  • All Implemented Interfaces:

    
    public interface TokenStore
    
                        

    A token store.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class TokenStore.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Token get() Gets the token.
      abstract Unit set(Token token) Sets the token.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • get

         abstract Token get()

        Gets the token.

        Returns:

        a token

      • set

         abstract Unit set(Token token)

        Sets the token.

        Parameters:
        token - a token