Interface TokenContextDescriptionStorage

    • Method Detail

      • updateTokenDescription

        void updateTokenDescription​(@NotNull
                                    String projectId,
                                    @NotNull
                                    String token,
                                    @NotNull
                                    String contextDescription)
        Update token description
        Parameters:
        projectId - project id
        token - token
        contextDescription - context description
      • getTokenDescription

        @Nullable
        String getTokenDescription​(@NotNull
                                   String projectId,
                                   @NotNull
                                   String token)
        Get stored token description
        Parameters:
        projectId - project id
        token - token
        Returns:
        token description if found, null otherwise
      • cleanTokenDescriptionForProject

        void cleanTokenDescriptionForProject​(@NotNull
                                             String projectId)
        Clean token descriptions for fiven project
        Parameters:
        projectId - prject id