You are here

function oauth2_server_libraries_info in OAuth2 Server 7

Implements hook_libraries_info().

File

./oauth2_server.module, line 29
Provides OAuth2 server functionality.

Code

function oauth2_server_libraries_info() {
  $libraries = array();
  $libraries['oauth2-server-php'] = array(
    'name' => 'OAuth2 Server',
    'vendor url' => 'https://github.com/bshaffer/oauth2-server-php',
    'xautoload' => function ($api) {
      $api
        ->namespaceRoot('OAuth2', 'src');
    },
  );
  return $libraries;
}