SimpleSAMLphp is an award-winning application written in native PHP that provides authentication and authorization infrastructure focused on the Security Assertion Markup Language (SAML).
SimpleSAMLphp can be used to implement an identity Provider (IdP) to supply user information to authenticated services, a service provider (SP) to protect resources and offer an authentication interface or as a bridge to translate between popular identity protocols, such as: Shibboleth 1.3, A-Select, CAS, OpenID, WS-Federation and OAuth. Operates on Linux, Mac OSX and Microsoft Windows.