Angular - How to resolve CanActivate deprecated in Angular-15 Auth Guard | Nihira Techiees

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • #canactivate #angular16 # angular #nihiratechiees
    This video ExplainsHow to resolve CanActivate deprecated in Angular-15 Auth Guard
    Source code GitHub Link
    =========================
    github.com/nih...
    Join this channel to get access to perks:
    / @nihiratechiees

ความคิดเห็น • 30

  • @mohammedrayan1617
    @mohammedrayan1617 10 หลายเดือนก่อน

    after searching for hours finally found it,Thank you

  • @Mikypot
    @Mikypot 11 หลายเดือนก่อน

    After hundred videos, this have been the best!!! Congratulation

  • @francilvanlima
    @francilvanlima 5 หลายเดือนก่อน

    You were amazing in the explanation!! Thanks!

  • @umutylmaz3218
    @umutylmaz3218 ปีที่แล้ว

    This is just excellent. Thank you so much.

  • @fr_w_la710
    @fr_w_la710 6 หลายเดือนก่อน

    Useful ❤

  • @pokalasrija5857
    @pokalasrija5857 ปีที่แล้ว

    thank you so much

  • @vikashbanoriya142
    @vikashbanoriya142 ปีที่แล้ว

    Awesome..👍

    • @NihiraTechiees
      @NihiraTechiees  ปีที่แล้ว +1

      Thanks🙏

    • @vikashbanoriya142
      @vikashbanoriya142 ปีที่แล้ว

      Please 🙏 make a separate Video on JWT token for angular purpose....

  • @MounikaUmmidi
    @MounikaUmmidi ปีที่แล้ว

    Thank you !

  • @rockdrigovevohd3715
    @rockdrigovevohd3715 11 หลายเดือนก่อน

    Sweet!

  • @antaratmapath.
    @antaratmapath. ปีที่แล้ว +1

    Super sir could you please make video validation they show that username already exists and used MySQL database 🙏🙏

    • @NihiraTechiees
      @NihiraTechiees  ปีที่แล้ว +1

      Will do in future currently I have some plan

    • @antaratmapath.
      @antaratmapath. ปีที่แล้ว

      @@NihiraTechiees thanks I m wait one project with database connection and one again thanks you

  • @prasadshete781
    @prasadshete781 7 หลายเดือนก่อน

    Sir I want to learn angular so which Playlist should I follow

    • @NihiraTechiees
      @NihiraTechiees  7 หลายเดือนก่อน

      th-cam.com/play/PLfyWdpsiUiPAcHftMr_R0HwSyAVHCW5cR.html

  • @RevivingGM
    @RevivingGM 9 หลายเดือนก่อน

    I love you

    • @NihiraTechiees
      @NihiraTechiees  9 หลายเดือนก่อน

      Thanks for showing love 🤝

  • @pmsanthosh
    @pmsanthosh 11 หลายเดือนก่อน

    What if I want to call an api from service to check for authentication.

    • @NihiraTechiees
      @NihiraTechiees  11 หลายเดือนก่อน

      Follow this video th-cam.com/video/jrp1djz0H6E/w-d-xo.html

  • @gladisxavier2430
    @gladisxavier2430 3 หลายเดือนก่อน

    export class AuthGuard implements CanActivate{
    constructor(private sellerService:SellerService){}
    canActivate(
    route: ActivatedRouteSnapshot,
    state: RouterStateSnapshot): Observable | Promise| boolean | UrlTree{
    //state: RouterStateSnapshot): Observable | Promise {
    throw new Error('Method not implemented.');
    if(localStorage.getItem('seller')){
    return true;
    }
    return this.sellerService.isSellerLoggedIn;
    }
    Error:
    Uncaught (in promise): TypeError: Class constructor AuthGuard cannot be invoked without 'new'
    TypeError: Class constructor AuthGuard cannot be invoked without 'new'
    pls solve this bro

    • @NihiraTechiees
      @NihiraTechiees  3 หลายเดือนก่อน

      Cross check with my source code