ApiServiceInterface
interface ApiServiceInterface
Interface to be called for DI for API Main related services
Methods
create($user, ParameterBag $parameters)
Creates the user using the API
delete($user)
Deletes the user
string
getToken($user, Request $request)
Encodes the JSON Web Token
hydrate($user, $parameters)
Hydrates the user with given parameters
modify($user, $parameters)
Modifies the user
array|null
validateToken(string $token)
Validates the JWToken
Details
at line 26
create($user, ParameterBag $parameters)
Creates the user using the API
at line 31
delete($user)
Deletes the user
at line 37
string
getToken($user, Request $request)
Encodes the JSON Web Token
at line 42
hydrate($user, $parameters)
Hydrates the user with given parameters
at line 47
modify($user, $parameters)
Modifies the user
at line 53
array|null
validateToken(string $token)
Validates the JWToken