Interface OAuth2TokenStore

  • All Implemented Interfaces:

    
    public interface OAuth2TokenStore
    
                        

    This class takes care of storing (and potentially persisting) the OAuth token.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • deleteToken

         abstract void deleteToken(@NonNull() String url)

        Called when a token should be deleted.

        Parameters:
        url - The url which the token is no longer needed.
      • isOpen

         boolean isOpen()

        Checks if the token store is open and can be used.

        Returns:

        true if the token store is open, false otherwise