Generics

The WRAPHandler class requires two type parameters.  The primary purpose of these parameters is to enable developers to declare a WRAP handler for the claim and result token types specified.  The class validates that the provided tokens are supported.  For example, v1.0 supports two claim token types and one result token type:

 

Claim Token Type

Result Token Type

AMT.IdentityModel.OAuth.SWTUserPasswordClaimToken

Microsoft.IdentityModel.OAuth.SimpleWebToken

AMT.IdentityModel.OAuth.SWTUserSymmetricKeyClaimToken

 

 

Comments

Comments are used throughout the code.  The following types of comments are worth special mention here:

TODO – These comments indicate areas of code that need further consideration, may be incomplete, etc.  Anyone who wishes to make improvements to the code in TODO (or other) areas only needs to join the project.

Credits – Some of the code was adapted from other code found online.  Where possible, comments identify the reference code.  Thanks to those developers who helped us and the community at large by providing their code!

CodePlex Tags: , , , ,

Last edited Sep 24, 2010 at 8:11 PM by jburnett, version 4

Comments

No comments yet.