Package io.meeds.oauth2.server.plugin
Class OAuthCimdClientResolver
java.lang.Object
io.meeds.oauth2.server.plugin.OAuthCimdClientResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads and checks the Client ID Metadata Document aclient_idURL names.
-
Constructor Details
-
OAuthCimdClientResolver
public OAuthCimdClientResolver()
-
-
Method Details
-
resolve
Reads and checks the Client ID Metadata Document aclient_idURL names. The URL is read through the platform's guarded fetcher: https on port 443 and a public address only, the address judged by the fetcher's own resolver when the connection opens, no redirect followed, at mostUtils.CIMD_MAX_BYTES.- Parameters:
clientId- theclient_id, an https URL- Returns:
- the document's metadata
- Throws:
IllegalArgumentException- when theclient_idis not a URL the server may readIllegalStateException- when the document cannot be read, or is not a valid one for thisclient_id
-