-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from wondeltd/MYL-1109-saml-support
MYL-1109 - Initial SAML Support
- Loading branch information
Showing
28 changed files
with
802 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Enums; | ||
|
||
enum ClaimTypes: string | ||
{ | ||
case EmailAddress = 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'; | ||
case MyLoginID = 'http://schemas.xmlsoap.org/identity/claims/myloginid'; | ||
case FirstName = 'http://schemas.xmlsoap.org/identity/claims/firstname'; | ||
case LastName = 'http://schemas.xmlsoap.org/identity/claims/lastname'; | ||
case DateOfBirth = 'http://schemas.xmlsoap.org/identity/claims/dateofbirth'; | ||
case Type = 'http://schemas.xmlsoap.org/identity/claims/type'; | ||
case LastOnline = 'http://schemas.xmlsoap.org/identity/claims/lastonline'; | ||
case ServiceProvidersGoogleID = 'http://schemas.xmlsoap.org/identity/claims/serviceproviders.google.id'; | ||
case ServiceProvidersMicrosoftID = 'http://schemas.xmlsoap.org/identity/claims/serviceproviders.microsoft.id'; | ||
case ServiceProvidersWondeID = 'http://schemas.xmlsoap.org/identity/claims/serviceproviders.wonde.id'; | ||
case OrganisationMyLoginID = 'http://schemas.xmlsoap.org/identity/claims/organisation.myloginid'; | ||
case OrganisationWondeID = 'http://schemas.xmlsoap.org/identity/claims/organisation.wondeid'; | ||
case OrganisationName = 'http://schemas.xmlsoap.org/identity/claims/organisation.name'; | ||
case OrganisationPhaseOfEducation = 'http://schemas.xmlsoap.org/identity/claims/organisation.phaseofeducation'; | ||
case OrganisationUrn = 'http://schemas.xmlsoap.org/identity/claims/organisation.urn'; | ||
case OrganisationLACode = 'http://schemas.xmlsoap.org/identity/claims/organisation.lacode'; | ||
case OrganisationEstablishmentNumber = 'http://schemas.xmlsoap.org/identity/claims/organisation.establishmentnumber'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace App\Enums; | ||
|
||
enum SSOProtocol: string | ||
{ | ||
case OAuth = 'o_auth'; | ||
case SAML = 'saml'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.