Class DelegatingOAuth2TokenValidator<T>
java.lang.Object
com.codename1.backend.security.oauth2.core.DelegatingOAuth2TokenValidator<T>
- All Implemented Interfaces:
OAuth2TokenValidator<T>
public final class DelegatingOAuth2TokenValidator<T>
extends Object
implements OAuth2TokenValidator<T>
Puts a token to several validators and reports everything any of them
found: a token that is both expired and from the wrong issuer says both.
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingOAuth2TokenValidator(Collection<OAuth2TokenValidator<T>> validators) -
Method Summary
Modifier and TypeMethodDescriptionWhethertokenpasses, and why not.
-
Constructor Details
-
DelegatingOAuth2TokenValidator
-
-
Method Details
-
validate
Description copied from interface:OAuth2TokenValidatorWhethertokenpasses, and why not.- Specified by:
validatein interfaceOAuth2TokenValidator<T>
-