public interface Credentials
Modifier and Type | Method and Description |
---|---|
default <V> void |
checkValid(V arg)
Implementors should override this method to perform validation.
|
JsonObject |
toJson()
Simple interop to downcast back to JSON for backwards compatibility.
|
default <V> void checkValid(V arg) throws CredentialValidationException
V
- the generic type of the argumentarg
- optional argument or null.CredentialValidationException
- when the validation failsJsonObject toJson()
Copyright © 2020 Eclipse. All rights reserved.