electron-steam-openid
A library to handle Steam authentication with OpenID, for your Electron app.
Install
$ npm install --save electron-steam-openid
Usage
const electronSteamAuth = ; var config = redirectUri: 'http://localhost'; app;
API
electronSteamAuth(config, windowParams)
config
Type: Object
Sets custom openid.RelyingParty() params
windowParams
Type: Object
An object that will be used to create the BrowserWindow. Details: Electron BrowserWindow documention
Methods
getAuthorizationCode(options)
Returns a Promise
that gets resolved with the authorization details of the OpenID authorization request.
Adapted from
License
MIT