@xboxreplay/xboxlive-auth
Advanced tools
Comparing version 4.0.0-beta.2 to 4.0.0-beta.3
@@ -1,5 +0,5 @@ | ||
import { LiveAuthResponse, LiveCredentials, LivePreAuthResponse, PreAuthOptions } from '../..'; | ||
import { LiveAuthResponse, LiveCredentials, LivePreAuthResponse, LivePreAuthOptions } from '../..'; | ||
export declare const getAuthorizeUrl: (clientId?: string, scope?: string, responseType?: 'token' | 'code', redirectUri?: string) => string; | ||
export declare const refreshAccessToken: (refreshToken: string, clientId?: string, scope?: string, clientSecret?: string | undefined) => Promise<LiveAuthResponse>; | ||
export declare const preAuth: (options?: PreAuthOptions | undefined) => Promise<LivePreAuthResponse>; | ||
export declare const preAuth: (options?: LivePreAuthOptions | undefined) => Promise<LivePreAuthResponse>; | ||
export declare const authenticate: (credentials: LiveCredentials) => Promise<LiveAuthResponse>; |
@@ -47,3 +47,3 @@ "use strict"; | ||
client_id: clientId, | ||
redirectUri: redirectUri, | ||
redirect_uri: redirectUri, | ||
response_type: responseType, | ||
@@ -50,0 +50,0 @@ scope: scope |
@@ -21,3 +21,3 @@ export declare type LiveCredentials = { | ||
}; | ||
export declare type PreAuthOptions = { | ||
export declare type LivePreAuthOptions = { | ||
clientId?: string; | ||
@@ -98,3 +98,3 @@ scope?: string; | ||
export declare const live: { | ||
preAuth: (options?: PreAuthOptions | undefined) => Promise<LivePreAuthResponse>; | ||
preAuth: (options?: LivePreAuthOptions | undefined) => Promise<LivePreAuthResponse>; | ||
getAuthorizeUrl: (clientId?: string, scope?: string, responseType?: "code" | "token", redirectUri?: string) => string; | ||
@@ -101,0 +101,0 @@ authenticate: (credentials: LiveCredentials) => Promise<LiveAuthResponse>; |
{ | ||
"name": "@xboxreplay/xboxlive-auth", | ||
"description": "A light but advanced Xbox Live authentication module with OAuth2.0 and Electron support", | ||
"version": "4.0.0-beta.2", | ||
"version": "4.0.0-beta.3", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "xboxreplay", |
@@ -8,3 +8,3 @@ # @xboxreplay/xboxlive-auth | ||
```shell | ||
$ npm install @xboxreplay/xboxlive-auth@4.0.0-beta.2 | ||
$ npm install @xboxreplay/xboxlive-auth@4.0.0-beta.3 | ||
``` | ||
@@ -11,0 +11,0 @@ |
56106