Click or drag to resize
ParaPlan Logo

UserToken Class

Object returned by the API when logging in. Contains information about the user and the token.
Inheritance Hierarchy
SystemObject
  ParaPlanREST.ModelsRESTModelBase
    ParaPlanREST.ModelsUserToken
      ParaPlanREST.ModelsValidateUserToken

Namespace:  ParaPlanREST.Models
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class UserToken : RESTModelBase

The UserToken type exposes the following members.

Constructors
  NameDescription
Public methodUserToken
Initializes a new instance of the UserToken class
Top
Properties
  NameDescription
Public propertyAssignedRoute
The Route assigned to this user (Drivers only)
Public propertyAssignedTimes
A string describing when the user will be working (Drivers only)
Public propertyAssignedTripCount
Public propertyAssignedVehicle
The Vehicle assigned to this user (Drivers only)
Public propertyAvailableFundingSources
The program names that the mobility manager is allowed to schedule with
Public propertyCanCallClients
Public propertyCanCancel
Public propertyCanScheduleTrips
Public propertyCanViewVehicles
Public propertyClientCanRequestRecurringRides
Public propertyClientCanRequestTrips
Public propertyClientID
Public propertyCollectGPS
Public propertyCopayPaymentTypes
Public propertyCurrentDriverBreakID
Public propertyDatabaseID
Public propertyDefaultPaymentType
Public propertyDeviceToken
Public propertyEmail
Public propertyerrorMessage (Inherited from RESTModelBase.)
Public propertyKey
Public propertyLocalDriverID
Public propertyName
Public propertyNoShowTimer
How long they should wait before the driver can no show a trip
Public propertyPPPAccess
The level of access this user has to the ParaPlan Passenger Portal
0 = Not Registered
1 = Has Access
2 = Blocked
3 = Needs Validation
Public propertyProviderCanRequestTrips
Public propertyProviderCanViewClientDetails
Public propertyProviderPrograms
Public propertyProviderProgramsList
Public propertyRESTUrl
Public propertysuccess (Inherited from RESTModelBase.)
Public propertytokenExists (Inherited from RESTModelBase.)
Public propertytokenIsValid (Inherited from RESTModelBase.)
Public propertyUserId
Public propertyUserType
The Type of user that is logging in
0 = Driver
1 = Mobility Manager
2 = Client
Top
Methods
  NameDescription
Public methodCanProceed (Inherited from RESTModelBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also