Skip to content

Commit b8d2b0c

Browse files
committed
+ comment
1 parent 8026f74 commit b8d2b0c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/sdk/src/server/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ export class BackendClient extends BaseClient {
251251
}
252252
}
253253

254+
/**
255+
* Returns the raw access token string or a promise resolving to it.
256+
* This can be used when you need the token directly without Authorization header formatting.
257+
*
258+
* @returns A string or promise resolving to the access token.
259+
*/
254260
public rawAccessToken(): string | Promise<string> {
255261
if (this.staticAccessToken) {
256262
return this.staticAccessToken;

0 commit comments

Comments
 (0)