13 lines
164 B
TypeScript
13 lines
164 B
TypeScript
|
class Auth {
|
||
|
token: string;
|
||
|
constructor(token: string) {
|
||
|
this.token = token;
|
||
|
}
|
||
|
|
||
|
getToken(): string {
|
||
|
return this.token;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default Auth;
|