Skip to content

Commit

Permalink
add nameId to success callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Serg Akudovich committed Jul 7, 2021
1 parent 6ca0208 commit fb47d99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ This extension provides 4 actions:

/**
* @param array $attributes attributes sent by Identity Provider.
* @param string $nameId nameId sent by Identity Provider after v2.1.1.
*/
public function callback($attributes) {
public function callback($attributes, $nameId = null) {
// do something
}
}
Expand Down

0 comments on commit fb47d99

Please sign in to comment.