ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







PassportAuthenticationModule

System.Web.Security (system.web.dll)sealed class

This module, when loaded through the web.config
file (<authentication mode="Passport">),
provides authentication using Microsoft's Passport
service. In this model, the ASP.NET framework will check for the
Passport "ticket" (an encrypted
value in a cookie or the query string) and use it to authenticate the
user. If no ticket is present, or if it has expired, the user will be
redirected to the Passport service's login page. The
user will be redirected automatically to the original ASP.NET page
with the correct ticket after logging in. At this point, the
Authenticate event will be fired. You can handle
this event with an event handler named
PassportAuthentication_OnAuthenticate in the
global.asax file.

The location of the Passport login page is set using the
<passport redirectUrl> element in the
web.config file.

public sealed class 

PassportAuthenticationModule : System.Web.IHttpModule {
// Public Constructors
public

PassportAuthenticationModule ( );
// Public Instance Methods
public void

Dispose ( );// implements System.Web.IHttpModule
public void

Init (System.Web.HttpApplication

app ); // implements System.Web.IHttpModule
// Events
public event PassportAuthenticationEventHandler

Authenticate ;
}




/ 873