Package com.styra.opa.openapi.utils
Class Hook.AfterSuccessContextImpl
- java.lang.Object
-
- com.styra.opa.openapi.utils.Hook.AfterSuccessContextImpl
-
- All Implemented Interfaces:
Hook.AfterSuccessContext
,Hook.HookContext
- Enclosing class:
- Hook
public static final class Hook.AfterSuccessContextImpl extends java.lang.Object implements Hook.AfterSuccessContext
-
-
Constructor Summary
Constructors Constructor Description AfterSuccessContextImpl(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
-
AfterSuccessContextImpl
public AfterSuccessContextImpl(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
-
-