mura.client.api.oath

Class oauthTokenBean

lucee.Component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.client.api.oath.oauthTokenBean

This provides OAuth Token functionality

Class Attributes:
  • entityname : oauthToken
  •  
  • table : toauthtokens
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any client


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


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


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


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


    • access = public
    • fieldtype = id
    • returntype = any
    true false
    Method Summary
    any getExpiresAt()
    any getExpiresIn()
    any isExpired()
    any save()
     
    Methods inherited from class mura.bean.beanORM
    addQueryParam, checkSchema, clone, delete, fromBundle, getBundleable, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQL, getManageSchema, getPrimaryKey, 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
    addObject, allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setValidations, setValue, synthArgs, translatePropKey, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    client

    property any client

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

    data

    property any data

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

    expires

    property any expires

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

    granttype

    property any granttype = [client_credentials]

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

    token

    property any token

    Attributes:
    access - public
    required - false
    fieldtype - id
    returntype - any
    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