TypeKeySecurity library documentation

TypeKeyAuthenticationModule Class

Module that takes care of checking incoming requests for TypeKey identity assertions, and create a TypeKeyIdentity object accordingly.

For a list of all members of this type, see TypeKeyAuthenticationModule Members.

System.Object
   TypeKeyAuthenticationModule

public sealed class TypeKeyAuthenticationModule : IHttpModule

Remarks

The TypeKey protocol is documented at http://www.movabletype.org/docs/tk-apps.html. This module enables you to use the TypeKey service with minimal code. For your ASP.Net site to use this module, it needs to be listed in the httpModules in your web.config, as shown below.

            <?xml version="1.0" encoding="utf-8" ?>
            <configuration>
                <system.web>
                    <authentication mode="None" />
                    <httpModules>
                        <add name="TypeKeyAuthenticationModule" 
                        type="TypeKeySecurity.TypeKeyAuthenticationModule, TypeKeySecurity" />
                    </httpModules>
                </system.web>
                <appSettings>
                    <add key="TypeKeySecurity.Token.Value" value="0123456789ABCDEF0123" />
                </appSettings>
            </configuration>

Requirements

Namespace: TypeKeySecurity

Assembly: TypeKeySecurity (in TypeKeySecurity.dll)

See Also

TypeKeyAuthenticationModule Members | TypeKeySecurity Namespace