Token Authentication

Jassim Al Rahma 1,616 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

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.