2017 © Pedro Peláez
 

library steamlink

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

image

snipedragon/steamlink

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

  • Saturday, May 19, 2018
  • by SnipeDragon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SteamLink

GitHub release PHP from Packagist GitHub license Packagist GitHub issues, (*1)

Provides authentication through Steam's OpenID and returns an object for the authenticated user., (*2)

I could not find a solution that met my needs, so I made my own, the goals I set for myself are as follows:, (*3)

  1. Generate a Login Button/URL using Steam's provided login button graphics.
  2. Begin a session (optional) and return a user object on login.
  3. Have the ability to refresh a user object by providing a steamid.

Getting Started - Composer

Add this to your composer.json file, in the require object:, (*4)

"snipedragon/steamlink": "1.*"

After that, run composer install to install the package., (*5)

OR

composer require snipedragon/steamlink:1.*

Example

require __DIR__ . '/vendor/autoload.php';

$options = array(
    'apiKey' => 'YOUR-API-KEY-HERE', // Steam API KEY
    'domainName' => 'https://your-site.net', // Shown on the Steam Login page to your users.
    'loginRedirect' => 'https://your-site.net/index.php?page=SteamLink&action=Login', // Returns user to this page on login.
    'logoutRedirect' => 'https://your-site.net/index.php?page=SteamLink&action=Logout', // Returns user to this page on logout.
    'startSession' => false //true to start session, false to only validate and return a steam user object.
);

$steamlink = new SnipeDragon\SteamLink($options);

echo "

Click on the following button to login and authenticate yourself through Steam:, (*6)

"; echo $steamlink->loginButton("rectangle"); //Can be "rectangle" or "square".

The Versions

19/05 2018

dev-master

9999999-dev

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Spencer Sword

steam steam-login steam login steamlogin

19/05 2018

1.0.2

1.0.2.0

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Spencer Sword

steam steam-login steam login steamlogin

19/05 2018

1.0.1

1.0.1.0

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Spencer Sword

steam steam-login steam login steamlogin

15/05 2018

1.0.0

1.0.0.0

Provides authentication through Steam's OpenID and returns an object for the authenticated user.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Spencer Sword

steam steam-login steam login steamlogin