2 // System.Web.Security.PassportIdentity.cs
5 // Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 // Andreas Nahr (ClassDevelopment@A-SoftTech.com)
8 // (C) 2002 Ximian, Inc (http://www.ximian.com)
12 using System.Security.Principal;
14 namespace System.Web.Security
16 public sealed class PassportIdentity : IIdentity
19 public PassportIdentity ()
21 throw new NotImplementedException ();
28 public string AuthUrl ()
30 return AuthUrl (null, -1, -1, null, -1, null, -1, -1);
34 public string AuthUrl (String strReturnUrl)
36 return AuthUrl (strReturnUrl, -1, -1, null, -1, null, -1, -1);
40 public string AuthUrl (string strReturnUrl,
43 string strCoBrandedArgs,
49 return AuthUrl (strReturnUrl, iTimeWindow, (fForceLogin ? 1 : 0), strCoBrandedArgs, iLangID, strNameSpace, iKPP, (bUseSecureAuth ? 1 : 0));
53 public string AuthUrl (string strReturnUrl,
56 string strCoBrandedArgs,
62 throw new NotImplementedException ();
65 public string AuthUrl2 ()
67 return AuthUrl2 (null, -1, -1, null, -1, null, -1, -1);
71 public string AuthUrl2 (String strReturnUrl)
73 return AuthUrl2 (strReturnUrl, -1, -1, null, -1, null, -1, -1);
77 public string AuthUrl2 (string strReturnUrl,
80 string strCoBrandedArgs,
86 return AuthUrl2 (strReturnUrl, iTimeWindow, (fForceLogin ? 1 : 0), strCoBrandedArgs, iLangID, strNameSpace, iKPP, (bUseSecureAuth ? 1 : 0));
90 public string AuthUrl2 (string strReturnUrl,
93 string strCoBrandedArgs,
99 throw new NotImplementedException ();
103 public static string Compress (string strData)
105 throw new NotImplementedException ();
109 public static bool CryptIsValid ()
111 throw new NotImplementedException ();
115 public static int CryptPutHost (string strHost)
117 throw new NotImplementedException ();
121 public static int CryptPutSite (string strSite)
123 throw new NotImplementedException ();
127 public static string Decompress (string strData)
129 throw new NotImplementedException ();
133 public static string Decrypt (string strData)
135 throw new NotImplementedException ();
139 public static string Encrypt (string strData)
141 throw new NotImplementedException ();
145 public object GetCurrentConfig (string strAttribute)
147 throw new NotImplementedException ();
151 public string GetDomainAttribute (string strAttribute, int iLCID, string strDomain)
153 throw new NotImplementedException ();
157 public string GetDomainFromMemberName (string strMemberName)
159 throw new NotImplementedException ();
162 public bool GetIsAuthenticated (int iTimeWindow, bool bForceLogin, bool bCheckSecure)
164 return this.GetIsAuthenticated (iTimeWindow, (bForceLogin ? 1 : 0), (bCheckSecure ? 1 : 0));
168 public bool GetIsAuthenticated (int iTimeWindow, int iForceLogin, int iCheckSecure)
170 throw new NotImplementedException ();
173 public string GetLoginChallenge ()
175 return GetLoginChallenge (null, -1, -1, null, -1, null, -1, -1, null);
179 public string GetLoginChallenge (String strReturnUrl)
181 return GetLoginChallenge (strReturnUrl, -1, -1, null, -1, null, -1, -1, null);
186 public string GetLoginChallenge (string szRetURL,
189 string szCOBrandArgs,
196 throw new NotImplementedException ();
200 public object GetOption (string strOpt)
202 throw new NotImplementedException ();
206 public object GetProfileObject (string strProfileName)
208 throw new NotImplementedException ();
212 public bool HasFlag (int iFlagMask)
214 throw new NotImplementedException ();
218 public bool HasProfile (string strProfile)
220 throw new NotImplementedException ();
224 public bool HaveConsent (bool bNeedFullConsent, bool bNeedBirthdate)
226 throw new NotImplementedException ();
229 public int LoginUser ()
231 return LoginUser (null, -1, -1, null, -1, null, -1, -1, null);
235 public int LoginUser (String strReturnUrl)
237 return LoginUser (strReturnUrl, -1, -1, null, -1, null, -1, -1, null);
241 public int LoginUser (string szRetURL,
244 string szCOBrandArgs,
251 return LoginUser (szRetURL, iTimeWindow, (fForceLogin ? 1 : 0), szCOBrandArgs, iLangID, strNameSpace, iKPP, (fUseSecureAuth ? 1 : 0), null);
255 public int LoginUser (string szRetURL,
258 string szCOBrandArgs,
265 throw new NotImplementedException ();
268 public string LogoTag ()
270 return LogoTag (null, -1, -1, null, -1, -1, null, -1, -1);
274 public string LogoTag (String strReturnUrl)
276 return LogoTag (strReturnUrl, -1, -1, null, -1, -1, null, -1, -1);
280 public string LogoTag (string strReturnUrl,
283 string strCoBrandedArgs,
290 return LogoTag (strReturnUrl, iTimeWindow, (fForceLogin ? 1 : 0), strCoBrandedArgs, iLangID, (fSecure ? 1 : 0), strNameSpace, iKPP, (bUseSecureAuth ? 1 : 0));
294 public string LogoTag (string strReturnUrl,
297 string strCoBrandedArgs,
304 throw new NotImplementedException ();
307 public string LogoTag2 ()
309 return LogoTag2 (null, -1, -1, null, -1, -1, null, -1, -1);
313 public string LogoTag2 (String strReturnUrl)
315 return LogoTag2 (strReturnUrl, -1, -1, null, -1, -1, null, -1, -1);
319 public string LogoTag2 (string strReturnUrl,
322 string strCoBrandedArgs,
329 return LogoTag2 (strReturnUrl, iTimeWindow, (fForceLogin ? 1 : 0), strCoBrandedArgs, iLangID, (fSecure ? 1 : 0), strNameSpace, iKPP, (bUseSecureAuth ? 1 : 0));
333 public string LogoTag2 (string strReturnUrl,
336 string strCoBrandedArgs,
343 throw new NotImplementedException ();
346 public string LogoutURL ()
348 return LogoutURL (null, null, -1, null, -1);
352 public string LogoutURL (string szReturnURL,
353 string szCOBrandArgs,
358 throw new NotImplementedException ();
362 public void SetOption (string strOpt, object vOpt)
364 throw new NotImplementedException ();
368 public static void SignOut (string strSignOutDotGifFileName)
370 throw new NotImplementedException ();
374 public object Ticket (string strAttribute)
376 throw new NotImplementedException ();
380 public string AuthenticationType
383 throw new NotImplementedException ();
391 throw new NotImplementedException ();
396 public bool GetFromNetworkServer
399 throw new NotImplementedException ();
404 public bool HasSavedPassword
407 throw new NotImplementedException ();
412 public bool HasTicket
415 throw new NotImplementedException ();
420 public string HexPUID
423 throw new NotImplementedException ();
428 public bool IsAuthenticated
431 throw new NotImplementedException ();
436 public string this [string strProfileName]
439 throw new NotImplementedException ();
447 throw new NotImplementedException ();
455 throw new NotImplementedException ();
460 public int TimeSinceSignIn
463 throw new NotImplementedException ();