mura.client.api.oath

Class oauthClientBean

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

This provides OAuth Client Crendential CRUD functionality

Class Attributes:
  • bundleable : true
  •  
  • entityname : oauthClient
  •  
  • table : toauthclients
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any clientid


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


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 100
    true false
    any created


    • access = public
    • returntype = any
    • ormtype = timestamp
    true false
    any description


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


    • access = public
    • returntype = any
    • datatype = timestamp
    true false
    any lastupdatebidy


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 35
    true false
    any lastupdateby


    • access = public
    • returntype = any
    • datatype = varchar
    • length = 50
    true false
    any name


    • access = public
    • returntype = any
    • datatype = varchar
    true yes
    any site


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = siteid
    • cfc = site
    true yes
    any tokens


    • access = public
    • fieldtype = one-to-many
    • returntype = any
    • cascade = delete
    • cfc = oauthToken
    true false
    any user


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = userid
    • cfc = user
    true false
    Method Summary
    any generateToken([any granttype='client_credentials'])
    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

    clientid

    property any clientid

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

    clientsecret

    property any clientsecret

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

    created

    property any created

    Attributes:
    access - public
    required - false
    returntype - any
    ormtype - timestamp
    serializable - true

    description

    property any description

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

    lastupdate

    property any lastupdate

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

    lastupdatebidy

    property any lastupdatebidy

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

    lastupdateby

    property any lastupdateby

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

    name

    property any name

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

    site

    property any site

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

    tokens

    property any tokens

    Attributes:
    access - public
    required - false
    fieldtype - one-to-many
    returntype - any
    cascade - delete
    serializable - true
    cfc - oauthToken

    user

    property any user

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

    Method Detail

    generateToken

    public any generateToken([any granttype='client_credentials'])

    Parameters:
    granttype

    save

    public any save()

    Overrides:
    save in class beanORM