forgejo-notifications-core/src/auth.ts

16 lines
294 B
TypeScript

// SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
class Auth {
token: string;
constructor(token: string) {
this.token = token;
}
getToken(): string {
return this.token;
}
}
export default Auth;