Skip to content

Commit 8ec44ff

Browse files
alex-basiukmairaw
authored andcommitted
Fixes #1437 (typo in field name) (#533)
* Fixes #1437 (typo in field name) * Fixes #1437 (a few more typos)
1 parent 65c6c41 commit 8ec44ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

snippets/csharp/VS_Snippets_Misc/wifcustomtokenst/cs/simplewebtoken/simplewebtoken.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ public class SimpleWebToken : SecurityToken
2828

2929
NameValueCollection _properties;
3030
//</Snippet3>
31-
string _serilaizedToken;
31+
string _serializedToken;
3232

3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="SimpleWebToken"/> class.
35-
/// This is internal contructor is only called from the <see cref="SimpleWebTokenHandler"/> when reading a token received from the wire.
35+
/// This is an internal constructor that is only called from the <see cref="SimpleWebTokenHandler"/> when reading a token received from the wire.
3636
/// </summary>
37-
/// <param name="properties">The collection represents all the key value pairs in the token.</param>
37+
/// <param name="properties">The collection representing all the key value pairs in the token.</param>
3838
/// <param name="serializedToken">The serialized form of the token.</param>
3939
internal SimpleWebToken( NameValueCollection properties, string serializedToken )
4040
: this(properties)
4141
{
42-
_serilaizedToken = serializedToken;
42+
_serializedToken = serializedToken;
4343
}
4444

4545
/// <summary>
4646
/// Initializes a new instance of the <see cref="SimpleWebToken"/> class.
4747
/// </summary>
48-
/// <param name="properties">The collection represents all the key value pairs in the token.</param>
48+
/// <param name="properties">The collection representing all the key value pairs in the token.</param>
4949
public SimpleWebToken( NameValueCollection properties )
5050
{
5151
if ( properties == null )
@@ -103,7 +103,7 @@ public override DateTime ValidFrom
103103
/// <summary>
104104
/// Gets the time when the token expires.
105105
/// </summary>
106-
/// <value>The time upto which the token is valid.</value>
106+
/// <value>The time up to which the token is valid.</value>
107107
public override DateTime ValidTo
108108
{
109109
get
@@ -158,7 +158,7 @@ public string SerializedToken
158158
{
159159
get
160160
{
161-
return _serilaizedToken;
161+
return _serializedToken;
162162
}
163163
}
164164

@@ -173,7 +173,7 @@ public NameValueCollection GetAllProperties()
173173

174174
//<Snippet8>
175175
/// <summary>
176-
/// Convert the time in seconds to a <see cref="DateTime"/> object based on the base time
176+
/// Converts the time in seconds to a <see cref="DateTime"/> object based on the base time
177177
/// defined by the Simple Web Token.
178178
/// </summary>
179179
/// <param name="expiryTime">The time in seconds.</param>

0 commit comments

Comments
 (0)