Interface OnCallGenkit.AuthPolicy
- Enclosing class:
OnCallGenkit
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for authorization policies.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorized(AuthContext auth) Checks if the request is authorized.
-
Method Details
-
isAuthorized
Checks if the request is authorized.- Parameters:
auth- the auth context- Returns:
- true if authorized
-