@andreabiagini5/applicazioni-e-servizi-web-project - v1.1.3
    Preparing search index...

    Function decodeToken

    • Decodes a JWT token and returns the username and email.

      Parameters

      • token: string

        the token to decode

      Returns { email: string; username: string }

      the decoded token