Property | Type | Description | |
---|---|---|---|
$authUrl | string | ||
$steamId | integer | null | ||
$steamInfo |
Method | Description | |
---|---|---|
__construct ( Illuminate\Http\Request $request ) : void | Create a new SteamAuth instance | |
getAuthUrl ( ) : string | Returns the login url | |
getParams ( ) : array | Get param list for openId validation | |
getSteamId ( ) : boolean | string | Returns the steam id | |
getUserInfo ( ) : |
Returns the SteamUser info | |
parseInfo ( ) : void | Get user data from steam api | |
parseResults ( string $results ) : Illuminate\Support\Fluent | Parse openID reponse to fluent object | |
parseSteamID ( ) : void | Parse the steamID from the OpenID response | |
redirect ( ) : Illuminate\Http\RedirectResponse | |
Returns the redirect response to login | |
validate ( ) : boolean | Checks the steam login |
Method | Description | |
---|---|---|
buildUrl ( string $return = null ) : string | Build the Steam login URL | |
requestIsValid ( ) : boolean | Validates if the request object has required stream attributes. | |
validateUrl ( string $url ) : boolean | Validates a given URL, ensuring it contains the http or https URI Scheme |
public __construct ( Illuminate\Http\Request $request ) : void | ||
$request | Illuminate\Http\Request | |
return | void |
public getSteamId ( ) : boolean | string | ||
return | boolean | string |
public getUserInfo ( ) : |
||
return |
public parseResults ( string $results ) : Illuminate\Support\Fluent | ||
$results | string | openid reponse body |
return | Illuminate\Support\Fluent |
public parseSteamID ( ) : void | ||
return | void |
public redirect ( ) : Illuminate\Http\RedirectResponse | |
||
return | Illuminate\Http\RedirectResponse | |