Token Authentication

Jassim Al Rahma 1,556 Reputation points
2021-10-06T15:34:26.547+00:00

Hi,

How does Token Authentication if I want to have my own Xamarin Auth app, similar to Microsoft Auth, Authy, etc?

Where can I find more resources?

is there a standard API calls for it? because it seems that you can add any app on Authy for example and it will automatically work.

Kindly advise.

Thanks,
Jassim

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,643 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 61,491 Reputation points
    2021-10-06T16:37:24.757+00:00

    tokens are passed with the Authorization http header

        Authorization: Bearer <token value> 
    

    the server should verify the token is valid typically with some encrypted known value.

    typically you supply an api to generate a token. a internet standard for the api is oauth:

    https://www.oauth.com

    a common bearer token format is jwt:

    https://jwt.io/introduction