Skip to content

Commit aee4e0c

Browse files
committed
fix: Type for generateSessionToken
1 parent 4515bea commit aee4e0c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/auth/generate_session_token.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ export type GenerateSessionTokenResponse = {
55
/**
66
* The session token that can be used to authenticate
77
* against the private servers auth proxy.
8-
*
8+
*
99
* This has to be passed as username to the client
1010
* when launching.
1111
*/
12-
authToken: string;
12+
authkey: string;
1313
};
1414

1515
/**
1616
* Generate a session token for authentication again the auth proxy.
17-
*
17+
*
1818
* **Note**: The retrieved token is only valid once and expires 10 minutes.
19-
*
19+
*
2020
* @param baseUrl The Auth Server base URL.
2121
* @param username The username of the account.
2222
* @param authToken The authToken of the account.
2323
* @param server The server to create the session token for.
24-
*
24+
*
2525
* @returns The created session token.
2626
*/
2727
export function generateSessionToken(baseUrl: string, username: string, authToken: string, server: KOCServerUrl) {

0 commit comments

Comments
 (0)