public class SectorIDURIValidator extends Object
Related specifications:
| Constructor | Description |
|---|---|
SectorIDURIValidator(com.nimbusds.jose.util.ResourceRetriever resourceRetriever) |
Creates a new sector identifier URI validator.
|
| Modifier and Type | Method | 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 © 2018 Connect2id Ltd.. All rights reserved.