Describes a class which supports signing arbitrary strings.

public abstract Google\Auth\FetchAuthTokenInterface::fetchAuthToken(?callable $httpHandler = NULL)

Fetches the auth tokens based on the current state.

  • return array a hash of auth tokens
public abstract Google\Auth\FetchAuthTokenInterface::getCacheKey()

Obtains a key that can used to cache the results of #fetchAuthToken.

If the value is empty, the auth token is not cached.

  • return string a key that may be used to cache the auth token.
public abstract getClientName(?callable $httpHandler = NULL)

Returns the current Client Name.

  • return string
public abstract Google\Auth\FetchAuthTokenInterface::getLastReceivedToken()

Returns an associative array with the token and
expiration time.

  • return null|array { The last received access token.
  • var string $access_token The access token string.
  • var int $expires_at The time the token expires as a UNIX timestamp. }
public abstract signBlob( $stringToSign, $forceOpenssl = false)

Sign a string using the method which is best for a given credentials type.

  • return string The resulting signature. Value should be base64-encoded.
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only