public class AuthFilter extends Filter<AuthFilter>
Rule.RuleMatcher| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_ACTION_DEFAULT_ORDER_IS_100 |
protected java.util.List<AuthScheme> |
schemes |
ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order, params| Constructor and Description |
|---|
AuthFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
documentSecurity(io.swagger.v3.oas.models.OpenAPI openApi,
Op op) |
java.util.List<AuthScheme> |
getAuthSchemes() |
io.swagger.v3.oas.models.Operation |
hook_documentOp(io.inversion.utils.Task docChain,
io.swagger.v3.oas.models.OpenAPI openApi,
java.util.List<Op> ops,
Op op,
java.util.Map<java.lang.Object,io.swagger.v3.oas.models.media.Schema> schemas) |
void |
run(Request req,
Response resp)
Override this method with your custom business logic or override one of the
http method "doMETHOD" specific handlers.
|
AuthFilter |
withAuthScheme(AuthScheme scheme) |
AuthFilter |
withAuthSchemes(java.util.List<AuthScheme> schemes) |
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecorationafterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddResponse, addResponse, beautifyTag, buildOperation, documentOpDelete, documentOperationSchema, documentOpFind, documentOpGet, documentOpPatch, documentOpPost, documentOpPut, documentOpRelated, documentParam, documentQueryParams, documentRequestSchema, documentResourceSchema, documentResponseSchema, findOp, getDescription, getSchemaRef, hasParam, newComponentRefSchema, newHrefSchema, newTypeSchema, removeReadOnlyPropertiespublic static final int AUTH_ACTION_DEFAULT_ORDER_IS_100
protected java.util.List<AuthScheme> schemes
public void run(Request req, Response resp) throws ApiException
Actionrun in class Action<AuthFilter>req - the Request being servicedresp - the Reponse being generatedApiExceptionpublic java.util.List<AuthScheme> getAuthSchemes()
public AuthFilter withAuthSchemes(java.util.List<AuthScheme> schemes)
public AuthFilter withAuthScheme(AuthScheme scheme)
public io.swagger.v3.oas.models.Operation hook_documentOp(io.inversion.utils.Task docChain,
io.swagger.v3.oas.models.OpenAPI openApi,
java.util.List<Op> ops,
Op op,
java.util.Map<java.lang.Object,io.swagger.v3.oas.models.media.Schema> schemas)
protected void documentSecurity(io.swagger.v3.oas.models.OpenAPI openApi,
Op op)
Copyright © 2023 Rocket Partners, LLC. All rights reserved.