Package org.onebusaway.users.services
Interface ApiKeyPermissionService
-
- All Known Implementing Classes:
ApiKeyPermissionServiceImpl
public interface ApiKeyPermissionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classApiKeyPermissionService.Status
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiKeyPermissionService.StatusgetPermission(String key, String service)Checks whether a user has permission to access a given service, and marks it as having been used.
-
-
-
Method Detail
-
getPermission
ApiKeyPermissionService.Status getPermission(String key, String service)
Checks whether a user has permission to access a given service, and marks it as having been used.- Returns:
- true if the specified key is allowed to access the ggiven service
-
-