oauth.routing.yml in OAuth 1.0 8.2
Same filename and directory in other branches
4 string references to YAML keys in oauth.routing.yml
- OAuthAddConsumerForm::submitForm in src/
Form/ OAuthAddConsumerForm.php - Form submission handler.
- OAuthController::consumers in src/
Controller/ OAuthController.php - Returns the list of consumers for a user.
- OAuthDeleteConsumerForm::getCancelUrl in src/
Form/ OAuthDeleteConsumerForm.php - Returns the route to go to if the user cancels the action.
- OAuthDeleteConsumerForm::submitForm in src/
Form/ OAuthDeleteConsumerForm.php - Form submission handler.
File
oauth.routing.ymlView source
- oauth.admin_form:
- path: '/admin/config/services/oauth'
- defaults:
- _form: '\Drupal\oauth\Form\OAuthSettingsForm'
- requirements:
- _permission: 'administer oauth'
-
- oauth.user_consumer:
- path: '/user/{user}/oauth/consumer'
- defaults:
- _controller: '\Drupal\oauth\Controller\OAuthController::consumers'
- requirements:
- _oauth_access_check: 'TRUE'
-
- oauth.user_consumer_add:
- path: '/oauth/consumer/add/{user}'
- defaults:
- _form: '\Drupal\oauth\Form\OAuthAddConsumerForm'
- _title: 'Add an OAuth Consumer'
- requirements:
- _oauth_access_check: 'TRUE'
-
-
- oauth.user_consumer_delete:
- path: '/oauth/consumer/delete/{user}/{key}'
- defaults:
- _form: '\Drupal\oauth\Form\OAuthDeleteConsumerForm'
- requirements:
- _oauth_access_check: 'TRUE'