diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-16 23:10:44 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-16 23:10:44 -0700 |
commit | 719337e7465118c21aa89727c3dbba93e7a192a1 (patch) | |
tree | 669c394869e79872c5c1ffd686be28f92d80f7e0 /src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs | |
parent | 1068d8217e19c6ac300a1077e13c2b1dae01bc4b (diff) | |
download | DotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.zip DotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.tar.gz DotNetOpenAuth-719337e7465118c21aa89727c3dbba93e7a192a1.tar.bz2 |
A bunch more moving of OAuth2 classes between assemblies.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs deleted file mode 100644 index f38df9a..0000000 --- a/src/DotNetOpenAuth.OAuth2/OAuth2/IAuthorizationState.cs +++ /dev/null @@ -1,67 +0,0 @@ -//----------------------------------------------------------------------- -// <copyright file="IAuthorizationState.cs" company="Outercurve Foundation"> -// Copyright (c) Outercurve Foundation. All rights reserved. -// </copyright> -//----------------------------------------------------------------------- - -namespace DotNetOpenAuth.OAuth2 { - using System; - using System.Collections.Generic; - - /// <summary> - /// Provides access to a persistent object that tracks the state of an authorization. - /// </summary> - public interface IAuthorizationState { - /// <summary> - /// Gets or sets the callback URL used to obtain authorization. - /// </summary> - /// <value>The callback URL.</value> - Uri Callback { get; set; } - - /// <summary> - /// Gets or sets the long-lived token used to renew the short-lived <see cref="AccessToken"/>. - /// </summary> - /// <value>The refresh token.</value> - string RefreshToken { get; set; } - - /// <summary> - /// Gets or sets the access token. - /// </summary> - /// <value>The access token.</value> - string AccessToken { get; set; } - - /// <summary> - /// Gets or sets the access token issue date UTC. - /// </summary> - /// <value>The access token issue date UTC.</value> - DateTime? AccessTokenIssueDateUtc { get; set; } - - /// <summary> - /// Gets or sets the access token UTC expiration date. - /// </summary> - DateTime? AccessTokenExpirationUtc { get; set; } - - /// <summary> - /// Gets the scope the token is (to be) authorized for. - /// </summary> - /// <value>The scope.</value> - HashSet<string> Scope { get; } - - /// <summary> - /// Deletes this authorization, including access token and refresh token where applicable. - /// </summary> - /// <remarks> - /// This method is invoked when an authorization attempt fails, is rejected, is revoked, or - /// expires and cannot be renewed. - /// </remarks> - void Delete(); - - /// <summary> - /// Saves any changes made to this authorization object's properties. - /// </summary> - /// <remarks> - /// This method is invoked after DotNetOpenAuth changes any property. - /// </remarks> - void SaveChanges(); - } -}
\ No newline at end of file |