Class SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
java.lang.Object
com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
- All Implemented Interfaces:
RequestPostProcessor
- Enclosing class:
SecurityMockMvcRequestPostProcessors
public static final class SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
extends Object
implements RequestPostProcessor
-
Method Summary
Modifier and TypeMethodDescriptionThe key's id, which is what a rate limit keyed by API key counts under;test-keyunless set.postProcessRequest(MockRequestBuilder request) The request to send:requestchanged, usually.The key's scopes, each granted asSCOPE_and its name.
-
Method Details
-
id
The key's id, which is what a rate limit keyed by API key counts under;test-keyunless set. -
scopes
The key's scopes, each granted asSCOPE_and its name. -
postProcessRequest
Description copied from interface:RequestPostProcessorThe request to send:requestchanged, usually.- Specified by:
postProcessRequestin interfaceRequestPostProcessor
-