@IsSPIInterface
public interface IAuthCredentialValidatorSPI
/META-INF/services/com.helger.photon.basic.auth.credentials.IAuthCredentialValidatorSPI| Modifier and Type | Method and Description |
|---|---|
boolean |
supportsCredentials(IAuthCredentials aCredentials)
Check if this implementation supports the passed credentials.
|
ICredentialValidationResult |
validateCredentials(IAuthCredentials aCredentials)
Validate the specified credentials.
|
boolean supportsCredentials(@Nonnull IAuthCredentials aCredentials)
aCredentials - The credentials to be validated. May not be null.true if this implementation supports the specified
credentials.@Nonnull ICredentialValidationResult validateCredentials(@Nonnull IAuthCredentials aCredentials)
supportsCredentials(IAuthCredentials) returned
true .aCredentials - The credentials to be validated. Never null.null.Copyright © 2016–2021 Philip Helger. All rights reserved.