Package com.styra.opa.openapi.utils
Class Hook.BeforeRequestContextImpl
- java.lang.Object
-
- com.styra.opa.openapi.utils.Hook.BeforeRequestContextImpl
-
- All Implemented Interfaces:
Hook.BeforeRequestContext
,Hook.HookContext
- Enclosing class:
- Hook
public static final class Hook.BeforeRequestContextImpl extends java.lang.Object implements Hook.BeforeRequestContext
-
-
Constructor Summary
Constructors Constructor Description BeforeRequestContextImpl(java.lang.String operationId, java.util.Optional<java.util.List<java.lang.String>> oauthScopes, java.util.Optional<SecuritySource> securitySource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.List<java.lang.String>>
oauthScopes()
java.lang.String
operationId()
java.util.Optional<SecuritySource>
securitySource()
-
-
-
Constructor Detail
-
BeforeRequestContextImpl
public BeforeRequestContextImpl(java.lang.String operationId, java.util.Optional<java.util.List<java.lang.String>> oauthScopes, java.util.Optional<SecuritySource> securitySource)
-
-
Method Detail
-
operationId
public java.lang.String operationId()
- Specified by:
operationId
in interfaceHook.HookContext
-
securitySource
public java.util.Optional<SecuritySource> securitySource()
- Specified by:
securitySource
in interfaceHook.HookContext
-
oauthScopes
public java.util.Optional<java.util.List<java.lang.String>> oauthScopes()
- Specified by:
oauthScopes
in interfaceHook.HookContext
-
-