You are here

function openid_connect_get_plugin in OpenID Connect / OAuth client 7

Returns an OpenID Connect client plugin.

Parameters

string $client_name: Name of the plugin.

Return value

array An array with information about the requested operation type plugin.

1 call to openid_connect_get_plugin()
openid_connect_get_client in ./openid_connect.module
Returns a client instance.

File

./openid_connect.module, line 121
A pluggable client implementation for the OpenID Connect protocol.

Code

function openid_connect_get_plugin($client_name) {
  ctools_include('plugins');
  return ctools_get_plugins('openid_connect', 'openid_connect_client', $client_name);
}