Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
468 changes: 234 additions & 234 deletions scripts/generate.ts

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions src/OAuth2Bearer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import { AuthClient, AuthHeader } from "./types";

export class OAuth2Bearer implements AuthClient {
private bearer_token: string;
private bearer_token: string;

constructor(bearer_token: string) {
this.bearer_token = bearer_token;
}
constructor(bearer_token: string) {
this.bearer_token = bearer_token;
}

getAuthHeader(): AuthHeader {
return {
Authorization: `Bearer ${this.bearer_token}`,
};
}
getAuthHeader(): AuthHeader {
return {
Authorization: `Bearer ${this.bearer_token}`,
};
}
}
Loading