diff --git a/snippets/csharp/VS_Snippets_Misc/wifcustomtokenst/cs/simplewebtoken/simplewebtoken.cs b/snippets/csharp/VS_Snippets_Misc/wifcustomtokenst/cs/simplewebtoken/simplewebtoken.cs index eaa90adeaad..340538d6c93 100644 --- a/snippets/csharp/VS_Snippets_Misc/wifcustomtokenst/cs/simplewebtoken/simplewebtoken.cs +++ b/snippets/csharp/VS_Snippets_Misc/wifcustomtokenst/cs/simplewebtoken/simplewebtoken.cs @@ -28,24 +28,24 @@ public class SimpleWebToken : SecurityToken NameValueCollection _properties; // - string _serilaizedToken; + string _serializedToken; /// /// Initializes a new instance of the class. - /// This is internal contructor is only called from the when reading a token received from the wire. + /// This is an internal constructor that is only called from the when reading a token received from the wire. /// - /// The collection represents all the key value pairs in the token. + /// The collection representing all the key value pairs in the token. /// The serialized form of the token. internal SimpleWebToken( NameValueCollection properties, string serializedToken ) : this(properties) { - _serilaizedToken = serializedToken; + _serializedToken = serializedToken; } /// /// Initializes a new instance of the class. /// - /// The collection represents all the key value pairs in the token. + /// The collection representing all the key value pairs in the token. public SimpleWebToken( NameValueCollection properties ) { if ( properties == null ) @@ -103,7 +103,7 @@ public override DateTime ValidFrom /// /// Gets the time when the token expires. /// - /// The time upto which the token is valid. + /// The time up to which the token is valid. public override DateTime ValidTo { get @@ -158,7 +158,7 @@ public string SerializedToken { get { - return _serilaizedToken; + return _serializedToken; } } @@ -173,7 +173,7 @@ public NameValueCollection GetAllProperties() // /// - /// Convert the time in seconds to a object based on the base time + /// Converts the time in seconds to a object based on the base time /// defined by the Simple Web Token. /// /// The time in seconds.