Class WC_API_Authentication
Methods summary
public
|
|
public
null|WP_Error|WP_User
|
#
authenticate( WP_User $user )
Authenticate the request. The authentication method varies based on whether the request was made over SSL or not. |
public
|
#
check_api_key_permissions( WP_User $user )
Check that the API keys provided have the proper key-specific permissions to either read or write API resources |