Class MockJwksRetriever
- java.lang.Object
-
- net.officefloor.tutorial.jwtresourcehttpserver.MockJwksRetriever
-
- All Implemented Interfaces:
JwksRetriever
public class MockJwksRetriever extends java.lang.Object implements JwksRetriever
Mock
JwksRetriever.Typically this would be HTTPS call to JWT authority server.
- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMockJwksRetriever.JwksKeystatic classMockJwksRetriever.JwksKeys
-
Constructor Summary
Constructors Constructor Description MockJwksRetriever()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamretrieveJwks()Retrieves the JWKS content.
-
-
-
Method Detail
-
retrieveJwks
public java.io.InputStream retrieveJwks() throws java.lang.ExceptionDescription copied from interface:JwksRetrieverRetrieves the JWKS content.- Specified by:
retrieveJwksin interfaceJwksRetriever- Returns:
InputStreamto the JWKS content.- Throws:
java.lang.Exception- If fails to retrieve the JWKS content.
-
-