We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09305ed commit 27a4f34Copy full SHA for 27a4f34
src/Client.php
@@ -115,6 +115,27 @@ public function getGrantTypesAttribute()
115
return $this->attributes['grant_types'] ?? null;
116
}
117
118
+ /**
119
+ * Get the scopes for the client.
120
+ *
121
+ * @return array|null
122
+ */
123
+ public function getScopesAttribute()
124
+ {
125
+ return $this->attributes['scopes'] ?? null;
126
+ }
127
+
128
129
+ * Set the scopes for the client.
130
131
+ * @param array|null $scopes
132
+ * @return void
133
134
+ public function setScopesAttribute(?array $scopes)
135
136
+ $this->attributes['scopes'] = $scopes;
137
138
139
/**
140
* The temporary non-hashed client secret.
141
*
0 commit comments