client
Summary
Provides functions to interface oauth clients and openveo Web Service.
Item Index
Methods
- checkGrantType static
- checkScope static
- checkSecret static
- fetchById static
- getClientProvider
- getId static
Methods
checkGrantType
Syntax
Summary
Checks grant type permission for the client.
For now only client_credentials grant type is available.
Returns:
Boolean:
true if the grant type is "client_credentials" false otherwise
checkScope
Syntax
Summary
Gets the list of scopes granted for the client.
Returns:
Array:
scope The list of scopes sent by the OAuth client
checkSecret
Syntax
checkSecret
(
static
-
oAuthClient
-
secret
-
callback
Summary
Verifies client's secret.
fetchById
Syntax
fetchById
(
static
-
id
-
callback
Summary
Fetches client object by primary key.