Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the signer documentation to show a usage of SMS #87 #89

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
### Removed

## 2.6.1 - 2024-03-05
### Added
- Update the signer documentation example to showcase the usage of the SMS access control feature


## 2.6.0 - 2023-11-30
### Added
- Added OAuth 2.0 as an authentication option. See the [README](README.md#authentication) for more.
Expand Down
4 changes: 4 additions & 0 deletions docs/signer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ $mySigner->setOnBehalfOf('Acme Corporation');
// Set the optional social security number
$mySigner->setSocialSecurityNumber('0101501111', 'dk:cpr');

// The SMS validation is relying on the same mechanism using 'sms' as the ssnType
// The social security number to use must then contain a mobile number include the country code but not the leading +
$mySigner->setSocialSecurityNumber('4511223344', 'sms');

// Set the optional VAT identification number
$mySigner->setVATIdentificationNumber('12345678');

Expand Down