JWT(JSON Web Token)

 JWT

1 It consists of three parts separated by (.); 
    header . payload . signature

2 Header consists of keys to be used in signature. It has algorithm and token type.

3 Payload consists of data of the token. Usually name, id and token created time.

4 Signature consists of both header and payload along with a secret key to identify if it is the right accessing the the token.







Comments

Popular posts from this blog

Git

REST API