function oauth2_client_get_redirect_uri in OAuth2 Client 7.2
Same name in this branch
- 7.2 oauth2_client.module \oauth2_client_get_redirect_uri()
- 7.2 oauth2_client.api.php \oauth2_client_get_redirect_uri()
Same name and namespace in other branches
- 8 oauth2_client.module \oauth2_client_get_redirect_uri()
- 8 oauth2_client.api.php \oauth2_client_get_redirect_uri()
- 7 oauth2_client.module \oauth2_client_get_redirect_uri()
Return the redirect_uri of oauth2_client.
2 calls to oauth2_client_get_redirect_uri()
- oauth2_client_test_authorized in tests/
oauth2_client_test.module - The oauth2 server will redirect to the registered redirect_uri, which is handled by the oauth2_client, but then oauth2_client will redirect to the path 'oauth2/test/authorized', which comes here. This is because we registered a redirect on…
- oauth2_client_test_client_integration in tests/
oauth2_client_test.module - Use the client 'client2' for getting an authorization code. This is done with the help of the module oauth2_client, because 'client2' is registered for it (its return_uri belongs to oauth2_client). Before jumping to…
File
- ./
oauth2_client.module, line 84 - Provides OAuth2 client functionality.
Code
function oauth2_client_get_redirect_uri() {
return url('oauth2/authorized', array(
'absolute' => TRUE,
));
}