Skip to content

Commit

Permalink
Merge branch 'release/3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Feb 24, 2020
2 parents 615f792 + f19885c commit 941d9a7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.0.5
- Expose Issuer on StateBasedAuthenticationService

# 3.0.4
- Upgrade Stepup-saml-bundle to version 4.1.8 #31
- Version pin Symfony 3.4 dependencies #31
Expand Down
7 changes: 7 additions & 0 deletions src/Service/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,11 @@ public function replyToServiceProvider();
* @return string
*/
public function getNameId();

/**
* Get the entity id of the SP that is issuing the AuthNRequest
*
* @return string
*/
public function getIssuer();
}
8 changes: 8 additions & 0 deletions src/Service/StateBasedAuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,12 @@ private function generateSSOreturnUrl()
{
return $this->router->generate('gssp_saml_sso_return');
}

/**
* @return string
*/
public function getIssuer()
{
return $this->stateHandler->getRequestServiceProvider();
}
}

0 comments on commit 941d9a7

Please sign in to comment.