Tridip Bhattacharjee

Tridip Bhattacharjee

  • NA
  • 1.2k
  • 77.1k

Few Terms: Bearer Token, access and refresh token, jwt, oaut

Apr 11 2018 9:17 AM
i always works with form auth and still never use token auth. so today i browse few articles on token auth then i came to few Terms like Bearer Token, access and refresh token, jwt, oauth.
 
those above terms are not clear to me. so i have few question. if anyone knows then please answer details for my each points.
 
1) How many type of token exist ?
2) what is bearer token?
3) what is access token
4) how access token is different from bearer token
5) gime me sample bearer token format just to know what kind of info is there in bearer token.
 
6) difference between access token and refresh token
7) how jwt is different from  bearer token?
 
8) what is difference between basic auth and token auth?
9) in case of basic auth server generate and send any token to client
10) normally when we do token auth with web api v2 then webapi generate bearer token or jwt?
 
i know i have asked 10 questions if possible please answer me point wise in details.
 
thanks