forgejo-notifications-core/src/auth.ts

17 lines
294 B
TypeScript
Raw Normal View History

2023-09-18 20:44:19 +05:30
// SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
2023-09-18 17:56:40 +05:30
class Auth {
token: string;
constructor(token: string) {
this.token = token;
}
getToken(): string {
return this.token;
}
}
export default Auth;