Esempio n. 1
0
 // todo: serialize access to this method
 private SingularAssociationManager initAssociationManager(HttpApplicationState application)
 {
     SingularAssociationManager returnValue = (SingularAssociationManager)application["dossia.openid.associationManager"];
     if (returnValue == null)
     {
         returnValue = new SingularAssociationManager();
         application["dossia.openid.associationManager"] = returnValue;
     }
     return returnValue;
 }
Esempio n. 2
0
 public DossiaOpenID(HttpApplicationState application, HttpSessionState session)
 {
     associationManager = initAssociationManager(application);
     sessionManager = initSessionManager(session);
 }