AuthleteSimpleConfiguration implements AuthleteConfiguration Uses AuthleteConfigurationTrait
A simple implementation of the \Authlete\Conf\AuthleteConfiguration interface.
Interfaces, Classes and Traits
- AuthleteConfiguration
- Configuration to access Authlete APIs.
Table of Contents
- getBaseUrl() : string
- The base URL of an Authlete server.
- getServiceApiKey() : string
- Get the API key of a service.
- getServiceApiSecret() : string
- Get the API secret of a service.
- getServiceOwnerApiKey() : string
- Get the API key of a service owner.
- getServiceOwnerApiSecret() : string
- Get the API secret of a service owner.
- setBaseUrl() : AuthleteSimpleConfiguration
- Set the base URL of an Authlete server.
- setServiceApiKey() : AuthleteSimpleConfiguration
- Set the API key of a service.
- setServiceApiSecret() : AuthleteSimpleConfiguration
- Set the API secret of a service.
- setServiceOwnerApiKey() : AuthleteSimpleConfiguration
- Set the API key of a service owner.
- setServiceOwnerApiSecret() : AuthleteSimpleConfiguration
- Set the API secret of a service owner.
Methods
getBaseUrl()
The base URL of an Authlete server.
public
getBaseUrl() : string
Return values
string —The base URL of an Authlete server.
getServiceApiKey()
Get the API key of a service.
public
getServiceApiKey() : string
Return values
string —The API key of a service.
getServiceApiSecret()
Get the API secret of a service.
public
getServiceApiSecret() : string
Return values
string —The API secret of a service.
getServiceOwnerApiKey()
Get the API key of a service owner.
public
getServiceOwnerApiKey() : string
Return values
string —The API key of a service owner.
getServiceOwnerApiSecret()
Get the API secret of a service owner.
public
getServiceOwnerApiSecret() : string
Return values
string —The API secret of a service owner.
setBaseUrl()
Set the base URL of an Authlete server.
public
setBaseUrl(string $baseUrl) : AuthleteSimpleConfiguration
Parameters
- $baseUrl : string
-
The base URL of an Authlete server.
Return values
AuthleteSimpleConfiguration —$this
object.
setServiceApiKey()
Set the API key of a service.
public
setServiceApiKey(string $apiKey) : AuthleteSimpleConfiguration
Parameters
- $apiKey : string
-
The API key of a service.
Return values
AuthleteSimpleConfiguration —$this
object.
setServiceApiSecret()
Set the API secret of a service.
public
setServiceApiSecret(string $apiSecret) : AuthleteSimpleConfiguration
Parameters
- $apiSecret : string
-
The API secret of a service.
Return values
AuthleteSimpleConfiguration —$this
object.
setServiceOwnerApiKey()
Set the API key of a service owner.
public
setServiceOwnerApiKey(string $apiKey) : AuthleteSimpleConfiguration
Parameters
- $apiKey : string
-
The API key of a service owner.
Return values
AuthleteSimpleConfiguration —$this
object.
setServiceOwnerApiSecret()
Set the API secret of a service owner.
public
setServiceOwnerApiSecret(string $apiSecret) : AuthleteSimpleConfiguration
Parameters
- $apiSecret : string
-
The API secret of a service owner.
Return values
AuthleteSimpleConfiguration —$this
object.