-
Notifications
You must be signed in to change notification settings - Fork 10
2.x Configuration
Sam edited this page Oct 15, 2018
·
7 revisions
Config values can be retrieved using Laravel's Config
facade e.g. Config::get('steam-login.<key>')
.
These values should be defined in your .env
file.
Key | env() Key |
---|---|
api_key |
STEAM_LOGIN_API_KEY |
method |
STEAM_LOGIN_PROFILE_METHOD |
timeout |
STEAM_LOGIN_TIMEOUT |
routes.login |
STEAM_LOGIN_ROUTE_NAME |
routes.auth |
STEAM_AUTH_ROUTE_NAME |
Key | Description | Type | Default |
---|---|---|---|
api_key |
Steam API Key used for retrieving a player's information if you choose to use the API method | string | null |
method |
Method of retrieving a player's information. Choices are api , xml
|
string | xml |
timeout |
Request timeout when calling any requests in guzzle | integer | 5 |
routes.login |
Route name for steam login route. Must be a valid defined route name | string | login.steam |
routes.auth |
Route name for steam auth/handle route. Used for validating after returning from steam. Must be a valid defined route name | string | auth.steam |