//----------------------------------------------------------------------- // // Copyright (c) Outercurve Foundation. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.OAuth.ChannelElements { /// /// The two types of tokens that exist in the OAuth protocol. /// public enum TokenType { /// /// A token that is freely issued to any known Consumer. /// It does not grant any authorization to access protected resources, /// but is used as a step in obtaining that access. /// RequestToken, /// /// A token only obtained after the owner of some protected resource(s) /// has approved a Consumer's access to said resource(s). /// AccessToken, /// /// An unrecognized, expired or invalid token. /// InvalidToken, } }