Skip to content

Commit

Permalink
Make Client::$plainSecret public (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored Feb 12, 2024
1 parent f2d6e9e commit b612476
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ class Client extends Model
/**
* The temporary plain-text client secret.
*
* This is only available during the request that created the client.
*
* @var string|null
*/
protected $plainSecret;
public $plainSecret;

/**
* Bootstrap the model and its traits.
Expand Down Expand Up @@ -136,18 +138,6 @@ public function setScopesAttribute(?array $scopes)
$this->attributes['scopes'] = $scopes;
}

/**
* The temporary non-hashed client secret.
*
* This is only available once during the request that created the client.
*
* @return string|null
*/
public function getPlainSecretAttribute()
{
return $this->plainSecret;
}

/**
* Set the value of the secret attribute.
*
Expand Down

0 comments on commit b612476

Please sign in to comment.