Package net.officefloor.web.jwt.mock
Class MockJwtAccessTokenRule
- java.lang.Object
-
- net.officefloor.web.jwt.mock.AbstractMockJwtAccessTokenJUnit
-
- net.officefloor.web.jwt.mock.MockJwtAccessTokenRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class MockJwtAccessTokenRule extends AbstractMockJwtAccessTokenJUnit implements org.junit.rules.TestRule
TestRule
to mock JWT access tokens for theJwtHttpSecuritySource
.This allows generating access tokens for testing the application.
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description MockJwtAccessTokenRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Methods inherited from class net.officefloor.web.jwt.mock.AbstractMockJwtAccessTokenJUnit
authorize, createAccessToken, getActiveJwtValidateKeys, setupMockKeys, teardownMockKeys
-
-