Class JwtAudienceValidator

java.lang.Object
com.codename1.backend.security.oauth2.jwt.JwtAudienceValidator
All Implemented Interfaces:
OAuth2TokenValidator<Jwt>

public final class JwtAudienceValidator extends Object implements OAuth2TokenValidator<Jwt>

Refuses a token that is not for this server: one whose aud names none of the audiences given here. A token with no audience at all is refused.

Without this a token an identity provider issued for some other application is as good here as one issued for this one.