diff --git a/src/League/OAuth2/Server/Grant/GrantTrait.php b/src/League/OAuth2/Server/Grant/GrantTrait.php index e052ce57..f444fa50 100644 --- a/src/League/OAuth2/Server/Grant/GrantTrait.php +++ b/src/League/OAuth2/Server/Grant/GrantTrait.php @@ -22,6 +22,17 @@ trait GrantTrait { return $this->identifier; } + /** + * Return the identifier + * @param string $identifier + * @return self + */ + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + return $this; + } + /** * Return the response type * @return string @@ -42,4 +53,4 @@ trait GrantTrait { return $this; } -} \ No newline at end of file +}