Package feast.common.auth.authorization
Interface AuthorizationProvider
-
- All Known Implementing Classes:
HttpAuthorizationProvider
public interface AuthorizationProviderAuthorizationProvider is the base interface that each AuthorizationProvider needs to implement in order to authorize requests to Feast Core
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationResultcheckAccessToProject(String projectId, org.springframework.security.core.Authentication authentication)Validates whether a user is allowed access to a project
-
-
-
Method Detail
-
checkAccessToProject
AuthorizationResult checkAccessToProject(String projectId, org.springframework.security.core.Authentication authentication)
Validates whether a user is allowed access to a project- Parameters:
projectId- Id of the Feast projectauthentication- Spring Security Authentication object- Returns:
- AuthorizationResult result of authorization query
-
-