diff --git a/src/Client.php b/src/Client.php index ccb8c17d2..57f2ae7d9 100644 --- a/src/Client.php +++ b/src/Client.php @@ -115,6 +115,27 @@ public function getGrantTypesAttribute() return $this->attributes['grant_types'] ?? null; } + /** + * Get the scopes for the client. + * + * @return array|null + */ + public function getScopesAttribute() + { + return $this->attributes['scopes'] ?? null; + } + + /** + * Set the scopes for the client. + * + * @param array|null $scopes + * @return void + */ + public function setScopesAttribute(?array $scopes) + { + $this->attributes['scopes'] = $scopes; + } + /** * The temporary non-hashed client secret. *