Identity/Verified Email Protocol/Session API: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 43: Line 43:
   [Constructor]
   [Constructor]
   interface Session {
   interface Session {
       attribute string id;
       attribute string email;
       attribute string status;
       attribute string status;
       attribute object bound_to;
       attribute object bound_to;
Line 69: Line 69:
     // Every page within domain must redeclare navigator.id.sessions
     // Every page within domain must redeclare navigator.id.sessions
     navigator.id.sessions = [{
     navigator.id.sessions = [{
         id: 'poohbear@ashdownforest.gov.uk'
         email: 'poohbear@ashdownforest.gov.uk'
     }];
     }];


Line 75: Line 75:
     // No other page within domain needs to declare navigator.id.sessions
     // No other page within domain needs to declare navigator.id.sessions
     navigator.id.sessions = [{
     navigator.id.sessions = [{
         id: 'yogibear@jellystone.nps.gov',
         email: 'yogibear@jellystone.nps.gov',
         bound_to: {
         bound_to: {
             type: 'cookie',
             type: 'cookie',
Line 81: Line 81:
         }
         }
     }];
     }];


===Session Redeclaration===
===Session Redeclaration===
Confirmed users
134

edits

Navigation menu