mura.client.api.oauth

Class oauthTokenBean

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.client.api.oauth.oauthTokenBean

This provides OAuth Token functionality

Class Attributes:
  • table : toauthtokens
  •  
  • entityname : oauthToken
  •  
    Property Summary
    type property default serializable required
    any accessCode


    • datatype = varchar
    • fieldtype = index
    • returntype = any
    • access = public
    true false
    any client


    • cfc = oauthClient
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = clientid
    • access = public
    true true
    any data


    • datatype = text
    • returntype = any
    • access = public
    true false
    any expires


    • datatype = datetime
    • returntype = any
    • access = public
    true true
    any granttype


    • datatype = varchar
    • returntype = any
    • access = public
    client_credentials true false
    any token


    • fieldtype = id
    • returntype = any
    • access = public
    true false
    any user


    • cfc = user
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = userid
    • access = public
    true false
    Method Summary
    any getExpiresAt()
    any getExpiresIn()
    any isExpired()
    any save()
     
    Methods inherited from class mura.bean.beanORM
    addQueryParam, checkSchema, clone, delete, fromBundle, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQL, getLoadSQLColumnsAndTables, getManageSchema, getPrimaryKey, getPropertiesAsJSON, getQueryAttrs, getQueryParamType, getQueryService, getReadOnly, getSaveErrors, getSite, getUseCache, getUseTrash, hasColumn, hasCustomDatasource, init, loadBy, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, set, setDbUtility, setPropAsIDColumn, setSaveErrors, toBundle, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    OnMissingMethod, addEventHandler, addObject, allowAccess, allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getBundleable, getDynamic, getEntityDisplayName, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getOrderBy, getProperties, getPublicAPI, getRegisteredEntity, getScaffold, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, on, parseDateArg, registerAsEntity, removeObject, setAddedObjectValues, setAllValues, setErrors, setValidations, setValue, setlastUpdateBy, synthArgs, transformEventName, translatePropKey, trigger, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Property Detail

    accessCode

    property any accessCode

    Attributes:
    datatype - varchar
    fieldtype - index
    returntype - any
    required - false
    access - public
    serializable - true

    client

    property any client

    Attributes:
    cfc - oauthClient
    fieldtype - many-to-one
    returntype - any
    required - true
    fkcolumn - clientid
    access - public
    serializable - true

    data

    property any data

    Attributes:
    datatype - text
    returntype - any
    required - false
    access - public
    serializable - true

    expires

    property any expires

    Attributes:
    datatype - datetime
    returntype - any
    required - true
    access - public
    serializable - true

    granttype

    property any granttype = [client_credentials]

    Attributes:
    datatype - varchar
    returntype - any
    required - false
    access - public
    serializable - true

    token

    property any token

    Attributes:
    fieldtype - id
    returntype - any
    required - false
    access - public
    serializable - true

    user

    property any user

    Attributes:
    cfc - user
    fieldtype - many-to-one
    returntype - any
    required - false
    fkcolumn - userid
    access - public
    serializable - true

    Method Detail

    getExpiresAt

    public any getExpiresAt()


    getExpiresIn

    public any getExpiresIn()


    isExpired

    public any isExpired()


    save

    public any save()

    Overrides:
    save in class beanORM