Oauth consumer interface.
@api
- Since
- 100.0.2
Definition at line 14 of file ConsumerInterface.php.
◆ getCallbackUrl()
Get consumer callback Url.
- Returns
- string
Implemented in Consumer.
◆ getCreatedAt()
Get when the consumer was created.
- Returns
- string
Implemented in Consumer.
◆ getId()
Get the consumer Id.
- Returns
- int
◆ getKey()
Get consumer key.
- Returns
- string
Implemented in Consumer.
◆ getSecret()
Get consumer secret.
- Returns
- string
Implemented in Consumer.
◆ isValidForTokenExchange()
isValidForTokenExchange |
( |
| ) |
|
Check if the consumer key has not expired for Oauth token exchange usage
- Returns
- bool
Implemented in Consumer.
◆ validate()
Validate consumer data (e.g. Key and Secret length).
- Returns
- bool True if the consumer data is valid.
- Exceptions
-
Implemented in Consumer.
The documentation for this interface was generated from the following file: