Interface DynamicallyRegisteredClientDataAccessProvider

All Superinterfaces:
DataAccessProvider

public interface DynamicallyRegisteredClientDataAccessProvider extends DataAccessProvider
Since:
2.1.0
  • Method Details

    • getByClientId

      Find an existing client entry.
      Parameters:
      clientId - the ID of the client to find
      Returns:
      the attributes of the client, if found; null otherwise
    • create

      void create(DynamicallyRegisteredClientAttributes attributes)
      Creates a new client entry.
      Parameters:
      attributes - the attributes of the client to create
    • update

      void update(DynamicallyRegisteredClientAttributes attributes)
      Updates an already existing client with the given attributes.

      It is an error if no client exists with the ID contained in the given attributes; a new client entry MUST NOT be created.

      Parameters:
      attributes - the attributes ot the client to update
      Since:
      4.2.0
    • delete

      void delete(String clientId)
      Deletes an existing client entry.
      Parameters:
      clientId - the ID of the client to delete
      Since:
      4.2.0
    • canWrite

      default boolean canWrite()
      Gets whether this Data Access Provider is writeable.
      Returns:
      true if writeable; false if read-only.