Пример #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;
 }
Пример #2
0
 public DossiaOpenID(HttpApplicationState application, HttpSessionState session)
 {
     associationManager = initAssociationManager(application);
     sessionManager = initSessionManager(session);
 }