Add API Level Tags
authorjkjo92 <jkjo92@samsung.com>
Mon, 3 Jul 2017 09:39:00 +0000 (18:39 +0900)
committerjkjo92 <jkjo92@samsung.com>
Mon, 3 Jul 2017 09:39:00 +0000 (18:39 +0900)
Change-Id: I4e889d31ac75b9c5b298f320f7edb5146d6f337c
Signed-off-by: jkjo92 <jkjo92@samsung.com>
20 files changed:
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/AccessToken.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/AuthenticationScheme.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/AuthorizationRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/AuthorizationResponse.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/Authorizer.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ClientCredentials.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ClientCredentialsAuthorizer.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ClientCredentialsTokenRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/CodeGrantAuthorizationRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/CodeGrantAuthorizer.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/CodeGrantTokenRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ImplicitGrantAuthorizationRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ImplicitGrantAuthorizer.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/OAuth2ErrorResponse.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/RefreshToken.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/RefreshTokenRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ResourceOwnerPwdCredentialsAuthorizer.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/ResourceOwnerPwdCredentialsTokenRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenRequest.cs [changed mode: 0644->0755]
src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenResponse.cs

old mode 100644 (file)
new mode 100755 (executable)
index d92e265..4d185a0
@@ -21,6 +21,7 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// Class containing access token and related information.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class AccessToken
     {
         internal AccessToken()
@@ -30,21 +31,25 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The lifetime in seconds of the access token.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public long ExpiresIn { get; internal set;}
 
         /// <summary>
         /// The access token issued by the authorization server.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Token { get; internal set;}
 
         /// <summary>
         /// The scope of the access token.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public IEnumerable<string> Scope { get; internal set;}
 
         /// <summary>
         /// The type of the access token.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string TokenType { get; internal set;}
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 7a47fe6..6f385e7
@@ -20,22 +20,26 @@ namespace Tizen.Account.OAuth2
     /// Enumerations for Client authentication scheme, used to sign client id and client secret accordingly.
     /// Default is Basic (http://tools.ietf.org/html/rfc2617#section-2)
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     /// <remarks>Facebook and Google does not support HTTP Basic Authentication, instead they require client credentials to be sent via request body.</remarks>
     public enum AuthenticationScheme
     {
         /// <summary>
         /// HTTP Basic Authentication for client authentication
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         Basic = 0,
 
         /// <summary>
         /// HTTP Basic Authentication for client authentication
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         Digest,
 
         /// <summary>
         /// Client credentials are sent via request body
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         RequestBody
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 32c527d..e6a4a4d
@@ -22,46 +22,55 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The request parameters to be sent to authorization end point.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public abstract class AuthorizationRequest
     {
         /// <summary>
         /// The desired response type from the OAuth authorization end point.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public abstract string ResponseType { get; }
 
         /// <summary>
         /// Client secret credentials.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ClientCredentials ClientSecrets { get; set; }
 
         /// <summary>
         /// The scope of the access.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public IEnumerable<string> Scopes { get; set; }
 
         /// <summary>
         /// The authorization end point URL.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Uri AuthorizationEndpoint { get; set; }
 
         /// <summary>
         /// The redirection endpoint of the auhorization flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Uri RedirectionEndPoint { get; set; }
 
         /// <summary>
         /// The access token end point URL.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Uri TokenEndpoint { get; set; }
 
         /// <summary>
         /// The client's state which is maintained between request and response.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string State { get; set; }
 
         /// <summary>
         /// Custom key-value parameters to be sent to the server
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public IEnumerable<KeyValuePair<string, string>> CustomData { get; set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 6305e3c..c12422a
@@ -22,6 +22,7 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The response containing authroization code from the authorization server.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class AuthorizationResponse : IDisposable
     {
         private bool _disposed = false;
@@ -35,6 +36,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Destructor of the AuthorizationResponse class.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         ~AuthorizationResponse()
         {
             Dispose(false);
@@ -43,11 +45,13 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The authroization code.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Code { get; internal set; }
 
         /// <summary>
         /// The state parameter present in authorization request.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>
         /// The value can be null depending on the server specifications.
         /// </remarks>
@@ -56,6 +60,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Custom key-value parameter received from service provider
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>
         /// The return value can be null depending on the server specifications.
         /// </remarks>
@@ -74,6 +79,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -83,6 +89,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
         protected virtual void Dispose(bool disposing)
         {
old mode 100644 (file)
new mode 100755 (executable)
index 16fc6ad..bf0496c
@@ -26,6 +26,7 @@ namespace Tizen.Account.OAuth2
     /// Refer to http://tools.ietf.org/html/rfc6749 about OAuth 2.0 protocols.
     /// Also service provider document needs to be referred for using end points and additional parameters.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public abstract class Authorizer : IDisposable
     {
 
@@ -35,6 +36,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Constructor for Authoirzer instances
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Authorizer()
         {
             int ret = Interop.Manager.Create(out _managerHandle);
@@ -48,6 +50,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Destructor of the Authorizer class.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         ~Authorizer()
         {
             Dispose(false);
@@ -56,6 +59,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Indicates if the current instance is already handling an authorization request
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public bool IsRequestInProgress
         {
             get
@@ -67,6 +71,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Authorizes the client with access toekn / authorizaion code in Implicit and Authorization Code grant flows respectively.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <see cref="CodeGrantAuthorizer.AuthorizeAsync(AuthorizationRequest)"/>
         /// <see cref="ImplicitGrantAuthorizer.AuthorizeAsync(AuthorizationRequest)"/>
         /// <param name="request">An authorization request</param>
@@ -79,6 +84,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Gets the access token in OAuth2 supported grant flows except Implicit Grant flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <see cref="CodeGrantAuthorizer.AuthorizeAsync(AuthorizationRequest)"/>
         /// <see cref="ImplicitGrantAuthorizer.AuthorizeAsync(AuthorizationRequest)"/>
         /// <param name="request">A token request</param>
@@ -91,6 +97,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -100,6 +107,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Retrieves access token using a refresh token.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">Request containing refresh token</param>
         /// <returns>The response containing access token.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
@@ -197,6 +205,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
         protected virtual void Dispose(bool disposing)
         {
old mode 100644 (file)
new mode 100755 (executable)
index edd49b7..3b6f58b
@@ -21,11 +21,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// Contains client credentials required for authentication in request-body
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ClientCredentials
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ClientCredentials()
         {
 
@@ -34,11 +36,13 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The client identifier
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Id { get; set; }
 
         /// <summary>
         /// The client secret
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Secret { get; set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 6fc8922..b9d8f1c
@@ -23,11 +23,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The ClientCredentialsAuthorizer is used to obtain access tokens using Client Credentials Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.4
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ClientCredentialsAuthorizer : Authorizer
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ClientCredentialsAuthorizer()
         {
 
@@ -36,6 +38,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Authorization not supported through this API for this flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when the operation is not supported</exception>
         public override Task<AuthorizationResponse> AuthorizeAsync(AuthorizationRequest request)
         {
@@ -46,6 +49,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Refreshing access token is not supported in this flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when the operation is not supported</exception>
         public override Task<TokenResponse> RefreshAccessTokenAsync(RefreshTokenRequest request)
         {
@@ -57,6 +61,7 @@ namespace Tizen.Account.OAuth2
         /// Retrieves access token using client credentials.
         /// The authroization request parameters should be as defined in https://tools.ietf.org/html/rfc6749#section-4.4.2
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">The token request <see cref="ClientCredentialsTokenRequest"/></param>
         /// <returns>The response containing access token.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
old mode 100644 (file)
new mode 100755 (executable)
index 50fa43a..a57225f
@@ -21,11 +21,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The class contains request parameters for retreiving access token in Client Credentials Grant flow.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ClientCredentialsTokenRequest : TokenRequest
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ClientCredentialsTokenRequest()
         {
 
@@ -34,6 +36,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The grant type.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string GrantType { get; } = "client_credentials";
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index a53dc36..385a798
@@ -25,6 +25,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public CodeGrantAuthorizationRequest()
         {
 
@@ -33,6 +34,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The response type parameter to authorization server.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string ResponseType { get; } = "code";
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index dd38565..bb7f1b5
@@ -24,11 +24,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The CodeGrantAuthorizer is used to obtain access tokens and refresh tokens using Authorization Code Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.1
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class CodeGrantAuthorizer : Authorizer
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public CodeGrantAuthorizer()
         {
 
@@ -37,6 +39,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Retrieves authorization code asynchronously. The authroization request parameters should be as defined in https://tools.ietf.org/html/rfc6749#section-4.1.1
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">The authorization request <see cref="CodeGrantAuthorizationRequest"/></param>
         /// <returns>The response containing authorization code.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
@@ -52,6 +55,7 @@ namespace Tizen.Account.OAuth2
         /// Retrieves access token by exchanging authorization code received using <see cref="AuthorizeAsync(AuthorizationRequest)"/>.
         /// The authroization request parameters should be as defined in https://tools.ietf.org/html/rfc6749#section-4.1.3
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">The token request <see cref="CodeGrantTokenRequest"/></param>
         /// <returns>The response containing access token.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
@@ -66,6 +70,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Clears the cookies
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void ClearCookies()
         {
             int ret = (int)OAuth2Error.None;
@@ -80,6 +85,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Clear the cache
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void ClearCache()
         {
             int ret = (int)OAuth2Error.None;
old mode 100644 (file)
new mode 100755 (executable)
index c537f0e..38d21f9
@@ -21,11 +21,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The class contains request parameters for retreiving access token in Authorization Code Grant flow.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class CodeGrantTokenRequest : TokenRequest
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public CodeGrantTokenRequest()
         {
 
@@ -34,11 +36,13 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The grant type
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string GrantType { get; } = "authorization_code";
 
         /// <summary>
         /// The authoriztion code received from the authorization server.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Code { get; set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 40732ab..5b0c50a
@@ -24,6 +24,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ImplicitGrantAuthorizationRequest()
         {
 
@@ -32,6 +33,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The response type parameter to aturhoization server.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string ResponseType { get; } = "token";
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index f86c046..c59dbee
@@ -24,11 +24,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The ImplicitGrantAuthorizer is used to obtain access tokens using Implicit Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.2
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ImplicitGrantAuthorizer : Authorizer
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ImplicitGrantAuthorizer()
         {
 
@@ -37,6 +39,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Retrieves access token asynchronously. The authroization request parameters should be as defined in https://tools.ietf.org/html/rfc6749#section-4.2.1
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">The authorization request <see cref="ImplicitGrantAuthorizationRequest"/></param>
         /// <returns>The response containing access token.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
@@ -51,6 +54,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Access token can be retreived implicitly using <see cref="AuthorizeAsync"/> in this flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when the operation is not supported</exception>
         public override Task<TokenResponse> GetAccessTokenAsync(TokenRequest request)
         {
@@ -61,6 +65,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Refreshing access token is not supported in this flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when the operation is not supported</exception>
         public override Task<TokenResponse> RefreshAccessTokenAsync(RefreshTokenRequest request)
         {
old mode 100644 (file)
new mode 100755 (executable)
index 89b2fac..82f1024
@@ -30,12 +30,14 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The error response.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public OAuth2ErrorResponse Error { get; internal set; }
     }
 
     /// <summary>
     /// Wrapper class contaning OAuth2 related error information
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class OAuth2ErrorResponse
     {
         internal OAuth2ErrorResponse ()
@@ -46,21 +48,25 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The server error code
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public int ServerErrorCode { get; internal set; }
 
         /// <summary>
         /// The platform error cocde
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public int PlatformErrorCode { get; internal set; }
 
         /// <summary>
         /// Error description
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Error { get; internal set; }
 
         /// <summary>
         /// URI of the error page.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string ErrorUri { get; internal set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 37d09d5..5050563
@@ -19,6 +19,7 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The refresh token which can be used to obtain new access token.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class RefreshToken
     {
         internal RefreshToken ()
@@ -29,6 +30,7 @@ namespace Tizen.Account.OAuth2
          /// <summary>
         /// The refresh token issued to the client.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Token { get; internal set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 45f4fae..0928ab6
@@ -19,11 +19,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The class contains request parameters for refreshing an access token.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class RefreshTokenRequest : TokenRequest
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public RefreshTokenRequest()
         {
 
@@ -32,11 +34,13 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The grant type to be used
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string GrantType { get; } = "refresh_token";
 
         /// <summary>
         /// The refresh token issued by authorization server.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string RefreshToken { get; set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 5bb5c30..27ae244
@@ -24,11 +24,13 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The ResourceOwnerPwdCredentialsAuthorizer is used to obtain access tokens using Resource Owner Password Credentials Grant flow as described at https://tools.ietf.org/html/rfc6749#section-4.3
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ResourceOwnerPwdCredentialsAuthorizer : Authorizer
     {
         /// <summary>
         /// The constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ResourceOwnerPwdCredentialsAuthorizer()
         {
 
@@ -37,6 +39,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Authorization not supported through this API for this flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <exception cref="InvalidOperationException">Thrown when the operation is not supported</exception>
         public override Task<AuthorizationResponse> AuthorizeAsync(AuthorizationRequest request)
         {
@@ -48,6 +51,7 @@ namespace Tizen.Account.OAuth2
         /// Retrieves access token by sending resource owner's password credentials.
         /// The authroization request parameters should be as defined in https://tools.ietf.org/html/rfc6749#section-4.3.2
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="request">The token request <see cref="ResourceOwnerPwdCredentialsTokenRequest"/></param>
         /// <returns>The response containing access token.</returns>
         /// <privilege>http://tizen.org/privilege/internet</privilege>
old mode 100644 (file)
new mode 100755 (executable)
index f7ffb8c..a0cf7fa
@@ -19,6 +19,7 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The class contains request parameters for retreiving access token in Resource Owner Password Credentials Grant flow.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ResourceOwnerPwdCredentialsTokenRequest : TokenRequest
     {
         /// <summary>
@@ -32,16 +33,19 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The grant type
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public override string GrantType { get; } = "password";
 
         /// <summary>
         /// The resource owner username
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Username { get; set; }
 
         /// <summary>
         /// The resource owner password
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string Password { get; set; }
     }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 66bdb10..1575c22
@@ -22,46 +22,55 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// Abstract wrapper class containing OAuth 2.0 request parameters for requesting an access token.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public abstract class TokenRequest
     {
         /// <summary>
         /// The Grant type
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public abstract string GrantType { get; }
 
         /// <summary>
         /// The client credentials
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public ClientCredentials ClientSecrets { get; set; }
 
         /// <summary>
         /// The access token end point URL.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Uri TokenEndpoint { get; set; }
 
         /// <summary>
         /// The redirection endpoint of the auhorization flow.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Uri RedirectionEndPoint { get; set; }
 
         /// <summary>
         /// The scope of the access request as described by https://tools.ietf.org/html/rfc6749#section-3.3
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public IEnumerable<string> Scopes { get; set; }
 
         /// <summary>
         /// Custom key-value parameters to be sent to the server
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public IEnumerable<KeyValuePair<string, string>> CustomData { get; set; }
 
         /// <summary>
         /// Client authentication scheme. Default is Basic
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public AuthenticationScheme AuthenticationScheme { get; set; } = AuthenticationScheme.Basic;
 
         /// <summary>
         /// The client's state which is maintained between request and response.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public string State { get; set; }
     }
 }
index ded80ea..0783268 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.Account.OAuth2
     /// <summary>
     /// The response from authroization server containing access token and an optional refresh token.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class TokenResponse
     {
         private bool _disposed = false;
@@ -35,6 +36,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Destructor of the AuthorizationResponse class.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         ~TokenResponse()
         {
             Dispose(false);
@@ -43,11 +45,13 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The access token
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public AccessToken AccessToken { get; internal set; }
 
         /// <summary>
         /// The state parameter present in authorization request.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>
         /// The value can be null depending on the server specifications.
         /// </remarks>
@@ -56,6 +60,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// The refresh token. The value will be null if authorization server doesn't return a refresh token.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>
         /// Issuing a refresh token is optional at the discretion of the authorization server.
         /// </remarks>
@@ -64,6 +69,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Gets the value of the key received from service provider
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <returns>The value of respecitve key </returns>
         /// <exception cref="System.ArgumentException">Thrown when the key does not exist or when there is an invalid parameter.</exception>
         public string GetCustomValue(string key)
@@ -81,6 +87,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -90,6 +97,7 @@ namespace Tizen.Account.OAuth2
         /// <summary>
         /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
         protected virtual void Dispose(bool disposing)
         {