ClearCredentialRegistryRequest.PerTypeConfig


public final class ClearCredentialRegistryRequest.PerTypeConfig


Configures how to clear the registries for a given type.

Summary

Public constructors

PerTypeConfig(
    boolean isDeleteAll,
    @NonNull String type,
    @NonNull List<@NonNull String> registryIds
)

constructs an instance of PerTypeConfig

Public methods

final @NonNull List<@NonNull String>

the IDs of the registries for the given type to delete, matching one or more RegisterCredentialsRequest.id used during credential registration

final @NonNull String

the type of registry to clear, matching the RegisterCredentialsRequest.type provided provided during the RegistryManager.registerCredentials call

final boolean

whether to delete all registries for the given type

Public constructors

PerTypeConfig

Added in 1.0.0-alpha02
public PerTypeConfig(
    boolean isDeleteAll,
    @NonNull String type,
    @NonNull List<@NonNull String> registryIds
)

constructs an instance of PerTypeConfig

Parameters
boolean isDeleteAll

whether to delete all registries for the given type

@NonNull String type

the type of registry to clear, matching the RegisterCredentialsRequest.type provided provided during the RegistryManager.registerCredentials call

@NonNull List<@NonNull String> registryIds

the IDs of the registries for the given type to delete, matching one or more RegisterCredentialsRequest.id used during credential registration

Public methods

getRegistryIds

Added in 1.0.0-alpha02
public final @NonNull List<@NonNull StringgetRegistryIds()

the IDs of the registries for the given type to delete, matching one or more RegisterCredentialsRequest.id used during credential registration

getType

Added in 1.0.0-alpha02
public final @NonNull String getType()

the type of registry to clear, matching the RegisterCredentialsRequest.type provided provided during the RegistryManager.registerCredentials call

isDeleteAll

Added in 1.0.0-alpha02
public final boolean isDeleteAll()

whether to delete all registries for the given type