Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::UserStore::AuthenticationResult

 When an authentication (or re-authentication) is performed, this structure
 provides the result to the client.

 <dt>currentTime:</dt>
   <dd>
   The server-side date and time when this result was
   generated.
   </dd>
 <dt>authenticationToken:</dt>
   <dd>
   Holds an opaque, ASCII-encoded token that can be
   used by the client to perform actions on a NoteStore.
   </dd>
 <dt>expiration:</dt>
   <dd>
   Holds the server-side date and time when the
   authentication token will expire.
   This time can be compared to "currentTime" to produce an expiration
   time that can be reconciled with the client's local clock.
   </dd>
 <dt>user:</dt>
   <dd>
   Holds the information about the account which was
   authenticated if this was a full authentication.  May be absent if this
   particular authentication did not require user information.
   </dd>
 <dt>publicUserInfo:</dt>
   <dd>
   If this authentication result was achieved without full permissions to
   access the full User structure, this field may be set to give back
   a more limited public set of data.
   </dd>
 </dl>

Constants

CURRENTTIME
AUTHENTICATIONTOKEN
EXPIRATION
USER
PUBLICUSERINFO
FIELDS

Public Instance Methods

struct_fields() click to toggle source
     # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/user_store_types.rb, line 110
110:               def struct_fields; FIELDS; end
validate() click to toggle source
     # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/user_store_types.rb, line 112
112:               def validate
113:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentTime is unset!') unless @currentTime
114:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field authenticationToken is unset!') unless @authenticationToken
115:                 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field expiration is unset!') unless @expiration
116:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.