
public interface ClientValidator
| Modifier and Type | Method and Description |
|---|---|
default URI |
getJwksUri(String clientId)
Gets the JWKS URI associated with the client ID.
|
URI |
getRedirectUri(String clientId) |
default URI |
getRedirectUriFromAuthorization(String authorization)
Obtains the client redirect URI from the Authorization header.
|
default boolean |
isOriginAllowed(String clientId,
String origin) |
boolean |
isOriginAllowed(String clientId,
URI origin) |
default boolean |
isOriginAllowedFromAuthorization(URI originUri,
String authorization)
Checks if the given origin URI is allowed for the given Authorization header
|
default boolean |
isValid(String grantType,
String authorization) |
boolean |
isValid(String grantType,
String clientId,
String clientSecret) |
default URI getJwksUri(String clientId)
clientId - client IDdefault URI getRedirectUriFromAuthorization(String authorization)
authorization - authorization header valuedefault boolean isOriginAllowedFromAuthorization(URI originUri, String authorization)
originUri - origin URIauthorization - authorization header valueCopyright © 2012–2017 Trajano. All rights reserved.