What is OAuth authentication
1. A security authentication protocol; 2. The agreement provides a secure, open and easy standard for the authorization of the user's resources; 3.OAuth authorization does not enable third parties to touch the user's account information (such as user name and password)
Website: www.oauth.net
Roles in OAuth
1.Service Provider (service provider, usually website) 2.User (user) 3.Consumer (Customer---Developer) 4.Protected resources (resource protected).
OAuth authentication, between service Provider, user, and consumer
Three tokens: request token, authorization token, access token, user-supplied user name and password direct access to service Provider
OAuth Authentication steps:
URL,REQUESR Token URL associated with OAuth; User Authorization URL; Access token URL, corresponding to three types of tokens
Encryption algorithm
Original----> Algorithm-----> Ciphertext, the common algorithm has hash algorithm, one-way encryption Algorithm (ciphertext + algorithm can not get the original text)
Digital signatures
OAuth related knowledge