example_entity_query_alter |
./oauth2_server.api.php |
An example hook_entity_query_alter() implementation for scope access. |
|
|
hook_oauth2_server_default_scope |
./oauth2_server.api.php |
Returns the default scope for the provided server. |
|
|
hook_oauth2_server_grant_types_alter |
./oauth2_server.api.php |
Alter the list of available grant types. |
|
|
hook_oauth2_server_pre_authorize |
./oauth2_server.api.php |
Execute operations before oauth2_server_authorize() main logic. |
|
|
hook_oauth2_server_token |
./oauth2_server.api.php |
Execute operations before OAuth2 Server sends a token response. |
|
|
hook_oauth2_server_user_claims |
./oauth2_server.api.php |
Provide new user claims. |
|
|
hook_oauth2_server_user_claims_alter |
./oauth2_server.api.php |
Alter user claims about the provided account. |
|
|
oauth2_server_access |
./oauth2_server.module |
Access control for oauth2_server entities. |
1 |
1 |
oauth2_server_authorization_code_load |
./oauth2_server.module |
Loads a single authorization code entity. |
3 |
|
oauth2_server_authorization_code_load_multiple |
./oauth2_server.module |
Loads multiple authorization code entities. |
|
|
oauth2_server_authorize_form |
./oauth2_server.pages.inc |
Form callback: Returns the authorize form. |
|
1 |
oauth2_server_authorize_form_submit |
./oauth2_server.pages.inc |
Submit callback for oauth2_server_authorize_form. |
|
|
oauth2_server_authorize_page |
./oauth2_server.pages.inc |
Page callback: Authenticates the user and redirect back to the client
with an authorization code. |
|
1 |
oauth2_server_base64url_decode |
./oauth2_server.module |
Decodes base64url encoded data. |
3 |
|
oauth2_server_base64url_encode |
./oauth2_server.module |
Encodes a string as base64url. |
1 |
|
oauth2_server_certificates_page |
./oauth2_server.pages.inc |
Page callback: Returns the server's certificates. |
|
1 |
oauth2_server_check_access |
./oauth2_server.module |
Check access for the passed server and scope. |
3 |
|
oauth2_server_check_client_secret |
./oauth2_server.module |
Check if a raw client secret matches a stored hash. |
2 |
|
oauth2_server_client_access |
./oauth2_server.module |
Access control for oauth2_server_client entities. |
|
1 |
oauth2_server_client_form |
includes/oauth2_server.client_admin.inc |
Generates the client editing form. |
|
|
oauth2_server_client_form_submit |
includes/oauth2_server.client_admin.inc |
Form API submit callback for the type form. |
|
|
oauth2_server_client_form_submit_delete |
includes/oauth2_server.client_admin.inc |
Form API submit callback for the delete button. |
|
1 |
oauth2_server_client_form_validate |
includes/oauth2_server.client_admin.inc |
Validation callback. |
|
|
oauth2_server_client_load |
./oauth2_server.module |
Loads a single client entity. |
11 |
|
oauth2_server_client_load_multiple |
./oauth2_server.module |
Loads multiple client entities. |
|
|
oauth2_server_cron |
./oauth2_server.module |
Implements hook_cron(). |
|
|
oauth2_server_ctools_plugin_directory |
./oauth2_server.module |
Implements hook_ctools_plugin_directory(). |
|
|
oauth2_server_delete_user_tokens |
./oauth2_server.module |
Delete a user's tokens. |
2 |
|
oauth2_server_drush_sql_sync_sanitize |
./oauth2_server.drush.inc |
Implements hook_sql_sync_sanitize(). |
|
|
oauth2_server_entity_info |
./oauth2_server.module |
Implements hook_entity_info(). |
|
|
oauth2_server_entity_load_by_properties |
./oauth2_server.module |
Loads oauth2_server entities by their property values. |
8 |
|
oauth2_server_flush_caches |
./oauth2_server.module |
Implements hook_flush_caches(). |
|
|
oauth2_server_form |
includes/oauth2_server.server_admin.inc |
Generates the server editing form. |
|
|
oauth2_server_form_submit |
includes/oauth2_server.server_admin.inc |
Form API submit callback for the type form. |
|
|
oauth2_server_form_submit_delete |
includes/oauth2_server.server_admin.inc |
Form API submit callback for the delete button. |
|
1 |
oauth2_server_form_validate |
includes/oauth2_server.server_admin.inc |
Validation callback. |
|
|
oauth2_server_from_request |
./oauth2_server.module |
Loads an OAuth2 server using the request details. |
3 |
|
oauth2_server_generate_keys |
./oauth2_server.module |
Generates a pair of private and public keys using OpenSSL. |
2 |
|
oauth2_server_get_client_credentials |
./oauth2_server.module |
Get the client credentials from the authorization header or the request body. |
1 |
|
oauth2_server_get_keys |
./oauth2_server.module |
Returns the pair of private and public keys used to sign tokens. |
3 |
|
oauth2_server_get_library_path |
./oauth2_server.module |
Returns the filesystem path to the oauth2-server-php library. |
3 |
|
oauth2_server_get_properties |
./oauth2_server.module |
Entity Metadata getter callback: Returns the matching id for a computed
field. |
|
2 |
oauth2_server_grant_types |
./oauth2_server.module |
Returns an array of supported grant types and related data. |
3 |
|
oauth2_server_hash_client_secret |
./oauth2_server.module |
Hash a client secret for storage. |
4 |
|
oauth2_server_init |
./oauth2_server.module |
Implements hook_init(). |
|
|
oauth2_server_libraries_info |
./oauth2_server.module |
Implements hook_libraries_info(). |
|
|
oauth2_server_load |
./oauth2_server.module |
Loads a single server entity. |
10 |
1 |
oauth2_server_load_multiple |
./oauth2_server.module |
Loads multiple server entities. |
|
|
oauth2_server_menu |
./oauth2_server.module |
Implements hook_menu(). |
|
|
oauth2_server_oauth2_server_client_delete |
./oauth2_server.module |
Implements hook_oauth2_server_client_delete(). |
|
|