Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does token mean?

I always hear the word token, eg. request a token.

I usually replace that word with "key".

But what does it mean exactly?

like image 955
ajsie Avatar asked Nov 01 '10 17:11

ajsie


People also ask

What does token mean in slang?

someone who is included in a group to make people believe that the group is trying to be fair and include all types of people when this is not really true.

What is the example of token?

In general, a token is an object that represents something else, such as another object (either physical or virtual), or an abstract concept as, for example, a gift is sometimes referred to as a token of the giver's esteem for the recipient. In computers, there are a number of types of tokens.

What does token mean in business?

In the business realm, we can define the token as: A unit of value that an organization creates to self-govern its business model, and empower its users to interact with its products, while facilitating the distribution and sharing of rewards and benefits to all of its stakeholders.


2 Answers

A token is a unit of information (as opposed to a unit of data witch could be an integer). It is the smallest chunk of data that composes information.

for instance, in a compiler tokenizer, the char array {'c', 'l', 'a', 's', 's'} would be a chunk of data composing the token "class" (Because a complete word is, in most cases, the smallest kind of information a compiler deals with).

like image 153
Neowizard Avatar answered Oct 17 '22 00:10

Neowizard


It depends on what kind of "token" you're talking about.

If you're talking about a hardware token, it's a piece of hardware that gives each user an identification number. That number is then paired with their username/password to provide an extra level of authentication.

If you're talking about a software token, then it's simply a piece of identifying information that is given to you after you authenticate with a system.

Once you have a token, you can provide that token to the authentication system to prove that you're already an authenticated user.

like image 29
Justin Niessner Avatar answered Oct 17 '22 01:10

Justin Niessner