Credentials
class Credentials (View source)
OAuth Client Credentials A value object for communicating plain text keys and secrets
Properties
private string | $key | ||
private string | $secret |
Methods
__construct(string $key, string $secret)
Credentials constructor.
string
getKey()
Get the associated key
string
getSecret()
Get the associated secret WARNING: This is a secure string and is meant to be kept secret. Be sure to hash this value before storing to a database.
Details
__construct(string $key, string $secret)
Credentials constructor.
string
getKey()
Get the associated key
string
getSecret()
Get the associated secret WARNING: This is a secure string and is meant to be kept secret. Be sure to hash this value before storing to a database.