You are here

function oauth2_server_load in OAuth2 Server 7

Loads a single server entity.

Parameters

string $name: The server machine name.

Return value

OAuth2Server|FALSE The server entity, or FALSE.

10 calls to oauth2_server_load()
OAuth2ServerScopeUIController::applyOperation in includes/oauth2_server.scope_admin.inc
Overrides EntityDefaultUIController::overviewTableRow().
OAuth2ServerScopeUIController::overviewTable in includes/oauth2_server.scope_admin.inc
Overrides EntityDefaultUIController::overviewTable().
OAuth2ServerTestCase::testCryptoTokens in tests/oauth2_server.test
Tests crypto tokens.
oauth2_server_authorize_page in ./oauth2_server.pages.inc
Page callback: Authenticates the user and redirect back to the client with an authorization code.
oauth2_server_check_access in ./oauth2_server.module
Check access for the passed server and scope.

... See full list

1 string reference to 'oauth2_server_load'
oauth2_server_form in includes/oauth2_server.server_admin.inc
Generates the server editing form.

File

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

Code

function oauth2_server_load($name) {
  return entity_load_single('oauth2_server', $name);
}