SignBlobInterface
interface SignBlobInterface implements FetchAuthTokenInterface (View source)
Describes a class which supports signing arbitrary strings.
Methods
Fetches the auth tokens based on the current state.
Obtains a key that can used to cache the results of #fetchAuthToken.
Returns an associative array with the token and expiration time.
Sign a string using the method which is best for a given credentials type.
Returns the current Client Name.
Details
array
fetchAuthToken(callable $httpHandler = null)
Fetches the auth tokens based on the current state.
string
getCacheKey()
Obtains a key that can used to cache the results of #fetchAuthToken.
If the value is empty, the auth token is not cached.
null|array
getLastReceivedToken()
Returns an associative array with the token and expiration time.
string
signBlob(string $stringToSign, bool $forceOpenssl = false)
Sign a string using the method which is best for a given credentials type.
string
getClientName(callable $httpHandler = null)
Returns the current Client Name.