{"id":21400242,"url":"https://github.com/oefenweb/cakephp-uni-login-webservice","last_synced_at":"2026-03-04T21:02:18.014Z","repository":{"id":24094299,"uuid":"27481597","full_name":"Oefenweb/cakephp-uni-login-webservice","owner":"Oefenweb","description":"A UNI•Login (Web Service) Plugin for CakePHP","archived":false,"fork":false,"pushed_at":"2019-01-23T12:29:58.000Z","size":52,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-02T11:14:19.498Z","etag":null,"topics":["cakephp","cakephp2","php","plugin","uni-login","unilogin-login-procedure","webservice"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-03T10:24:53.000Z","updated_at":"2024-04-02T11:14:19.499Z","dependencies_parsed_at":"2022-08-23T18:50:36.854Z","dependency_job_id":null,"html_url":"https://github.com/Oefenweb/cakephp-uni-login-webservice","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-uni-login-webservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-uni-login-webservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-uni-login-webservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-uni-login-webservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/cakephp-uni-login-webservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917594,"owners_count":17544923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cakephp","cakephp2","php","plugin","uni-login","unilogin-login-procedure","webservice"],"created_at":"2024-11-22T15:20:06.729Z","updated_at":"2026-03-04T21:02:17.968Z","avatar_url":"https://github.com/Oefenweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UniLoginWebservice plugin for CakePHP\n\n[![Build Status](https://travis-ci.org/Oefenweb/cakephp-uni-login-webservice.png?branch=master)](https://travis-ci.org/Oefenweb/cakephp-uni-login-webservice)\n[![PHP 7 ready](http://php7ready.timesplinter.ch/Oefenweb/cakephp-uni-login-webservice/badge.svg)](https://travis-ci.org/Oefenweb/cakephp-uni-login-webservice)\n[![Coverage Status](https://codecov.io/gh/Oefenweb/cakephp-uni-login-webservice/branch/master/graph/badge.svg)](https://codecov.io/gh/Oefenweb/cakephp-uni-login-webservice)\n[![Packagist downloads](http://img.shields.io/packagist/dt/Oefenweb/cakephp-uni-login-webservice.svg)](https://packagist.org/packages/oefenweb/cakephp-uni-login-webservice)\n[![Code Climate](https://codeclimate.com/github/Oefenweb/cakephp-uni-login-webservice/badges/gpa.svg)](https://codeclimate.com/github/Oefenweb/cakephp-uni-login-webservice)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Oefenweb/cakephp-uni-login-webservice/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Oefenweb/cakephp-uni-login-webservice/?branch=master)\n\nThis plugin communicates with the UNI•Login webservice (WS-02). This webservice provides basic information of UNI•Login\nusers (by institution). This service doesn't require a signed agreement of the institution.\n\n## Requirements\n\n* CakePHP 2.9.0 or greater.\n* PHP 7.0.0 or greater.\n\n## Installation\n\nClone/Copy the files in this directory into `app/Plugin/UniLoginWebservice`\n\n## Configuration\n\nEnsure the plugin is loaded in `app/Config/bootstrap.php` by calling:\n\n```\nCakePlugin::load('UniLoginWebservice');\n```\n\nEnsure to configure the following lines in `app/Config/bootstrap.php`:\n\n```\nConfigure::write('UniLoginWebservice.wsBrugerid', 'wsBrugerid');\nConfigure::write('UniLoginWebservice.wsPassword', 'wsPassword');\n```\n\n\nEnsure to configure the following lines in `app/Config/database.php`:\n\n```\npublic $uniLoginWebservice = [\n\t'datasource' =\u003e 'UniLoginWebservice.SoapSource',\n\t'wsdl' =\u003e 'https://ws02.infotjeneste.uni-c.dk/infotjeneste-ws/ws?WSDL'\n];\n```\n\n## Usage\n\n### Make UniLogin webservice available\n\n```\npublic $uses = ['UniLoginWebservice.UniLogin'];\n```\n\n### Make a \"helloWorld\" call\n\n```\n$this-\u003eUniLogin-\u003ehelloWorld();\n```\n\n### Make a \"helloSOAPFaultDemo\" call\n\n```\n$this-\u003eUniLogin-\u003ehelloSOAPFaultDemo();\n```\n\n### Retrieve data of employees by calling \"hentAnsatte\"\n\n```\n$employees = $this-\u003eUniLogin-\u003egetEmployees($instid);\n```\n\n### Retrieve detailed data of employees by calling \"hentAnsatte\" and \"hentPerson\" for every employee\n\n```\n$employees = $this-\u003eUniLogin-\u003egetEmployeesWithDetails($instid);\n```\n\n### Retrieve data of an institution by calling \"hentInstitution\"\n\n```\n$institution = $this-\u003eUniLogin-\u003egetInstitution($instid);\n```\n\n### Retrieve data of institutions where the user \"brugerid\" has a relation by calling \"hentInstitutionsliste\"\n\n```\n$institutions = $this-\u003eUniLogin-\u003egetInstitutions($brugerid);\n```\n\n### Retrieve data of a person by calling \"hentPerson\"\n\n```\n$person = $this-\u003eUniLogin-\u003egetPerson($brugerid);\n```\n\n### Retrieve data of students by calling \"hentAlleElever\"\n\n```\n$students = $this-\u003eUniLogin-\u003egetStudents($instid);\n```\n\n### Retrieve detailed data of students by calling \"hentAlleElever\" and \"hentPerson\" for every student\n\n```\n$students = $this-\u003eUniLogin-\u003egetStudentsWithDetails($instid);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fcakephp-uni-login-webservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fcakephp-uni-login-webservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fcakephp-uni-login-webservice/lists"}