public class SectorIDURIValidator extends Object
Related specifications:
| Constructor and Description |
|---|
SectorIDURIValidator(com.nimbusds.jose.util.ResourceRetriever resourceRetriever)
Creates a new sector identifier URI validator.
|
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jose.util.ResourceRetriever |
getResourceRetriever()
Returns the URL resource retriever.
|
void |
validate(URI sectorURI,
Set<URI> redirectURIs)
Validates the specified sector identifier URI by ensuring it lists
all specified redirection URIs.
|
public SectorIDURIValidator(com.nimbusds.jose.util.ResourceRetriever resourceRetriever)
resourceRetriever - The URL resource retriever to use. Must not
be null.public com.nimbusds.jose.util.ResourceRetriever getResourceRetriever()
public void validate(URI sectorURI, Set<URI> redirectURIs) throws GeneralException
sectorURI - The sector identifier URI. Must not be
null.redirectURIs - The redirection URIs of the client. Must not be
null.GeneralException - If validation failed.Copyright © 2017 Connect2id Ltd.. All rights reserved.