mura.client.api.oauth

Class oauthTokenBean

lucee.Component
    extended by mura.baseobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.client.api.oauth.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 accessCode


    • access = public
    • fieldtype = index
    • returntype = any
    • datatype = varchar
    true false
    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
    any user


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = userid
    • cfc = user
    true false
    Method Summary
    any getExpiresAt()
    any getExpiresIn()
    any getTokenInfo()
    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, isORM, loadBy, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, saveTagsAndCategories, set, setDbUtility, setPropAsIDColumn, setSaveErrors, toBundle, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    addEventHandler, addObject, allowAccess, allowDelete, allowQueryParams, allowRead, allowSave, appendHasRef, compare, exists, get, getAll, getAllValues, getBundleable, getCategorizable, getDynamic, getEntityDisplayName, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getIsVersioned, getListViewProps, getOrderBy, getPermissions, getProperties, getPublicAPI, getRegisteredEntity, getScaffold, getSearchableProps, getSynthedFunctions, getTable, getTaggable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, on, OnMissingMethod, parseDateArg, parseEncrypted, pluralizeHasRefName, registerAsEntity, removeObject, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setValidations, setValue, synthArgs, transformEventName, translatePropKey, trigger, valueExists
     
    Methods inherited from class mura.baseobject
    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 lucee.Component
    None

    Property Detail

    accessCode

    property any accessCode

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

    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

    user

    property any user

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

    Method Detail

    getExpiresAt

    public any getExpiresAt()


    getExpiresIn

    public any getExpiresIn()


    getTokenInfo

    public any getTokenInfo()


    isExpired

    public any isExpired()


    save

    public any save()

    Overrides:
    save in class beanORM