Package net.solarnetwork.ocpp.service
Interface AuthorizationService
- All Superinterfaces:
net.solarnetwork.service.Identifiable
public interface AuthorizationService
extends net.solarnetwork.service.Identifiable
API for authorizing an ID tag.
This API can be used by a Charge Point to authorize an identifier value, for example against a local authorization list or by making a call to a remote service such as an OCPP Central System. This API can also be used by a Central System to authorize a request from a Charge Point.
- Version:
- 2.0
- Author:
- matt
-
Field Summary
Fields inherited from interface net.solarnetwork.service.Identifiable
GROUP_UID_PROPERTY, UID_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionauthorize(ChargePointIdentity clientId, String identifier) Request authorization of a specific charge point ID tag value.Methods inherited from interface net.solarnetwork.service.Identifiable
getDisplayName, getGroupUid, getUid
-
Method Details
-
authorize
Request authorization of a specific charge point ID tag value.- Parameters:
clientId- the ID of the client making the requestidentifier- the identifier to authorize, e.g. RFID value- Returns:
- the authorization result, never null
-