Searched refs:DRKServer (Results 1 – 2 of 2) sorted by relevance
4 use dokuwiki\plugin\oauthdrkserver\DRKServer; alias23 DRKServer::setUseDemoEnvironment($useDemoEnv);24 return DRKServer::class;33 $result = json_decode($oauth->request(DRKServer::getUserInfoEndpoint()), true);35 $data['user'] = $result[DRKServer::USERINFO_JSON_USER];36 $data['name'] = $result[DRKServer::USERINFO_JSON_NAME];37 $data['mail'] = $result[DRKServer::USERINFO_JSON_MAIL];38 $data['grps'] = $result[DRKServer::USERINFO_JSON_GRPS];46 $scopes = [DRKServer::SCOPE_OPENID, DRKServer::SCOPE_EMAIL, DRKServer::SCOPE_PROFILE];53 return DRKServer::BUTTON_LABEL;[all …]
13 class DRKServer extends AbstractOAuth2Base class