-เพิ่ม pkg jose ไว้ encrypt secret key
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 6m5s

-jwt services/jwt.service.ts
-เพิ่ม  เวลา expire jwt token
This commit is contained in:
x2Skyz
2025-11-23 19:30:54 +07:00
parent 0d43286d84
commit 6669399b7e
12 changed files with 166 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { JwtService } from '../../services/jwt.service';
import { CommonModule } from '@angular/common';
@Component({
selector: 'app-token-timer',
standalone: false,
templateUrl: './token-timer.component.html',
styleUrls: ['./token-timer.component.css']
})
export class TokenTimerComponent implements OnInit {
countdown$: Observable<string | null>;
constructor(private jwtService: JwtService) {
this.countdown$ = this.jwtService.countdown$;
}
ngOnInit(): void {}
}