mura.client.api.oauth

Class oauthClientBean

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

This provides OAuth Client Crendential CRUD functionality

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


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


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


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


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


    • datatype = varchar
    • returntype = any
    • access = public
    basic true false
    any lastupdate


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


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


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


    • datatype = varchar
    • returntype = any
    • access = public
    true true
    any redirecturl


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


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


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


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

    clientid

    property any clientid

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

    clientsecret

    property any clientsecret

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

    created

    property any created

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

    description

    property any description

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

    granttype

    property any granttype = [basic]

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

    lastupdate

    property any lastupdate

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

    lastupdatebidy

    property any lastupdatebidy

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

    lastupdateby

    property any lastupdateby

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

    name

    property any name

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

    redirecturl

    property any redirecturl

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

    site

    property any site

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

    tokens

    property any tokens

    Attributes:
    cfc - oauthToken
    fieldtype - one-to-many
    returntype - any
    required - false
    cascade - delete
    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

    generateToken

    public any generateToken([any granttype='client_credentials'], [any userid=''], [any redirecturl=''])

    Parameters:
    granttype
    userid
    redirecturl

    getGrantType

    public any getGrantType()


    isValidRedirectURI

    public any isValidRedirectURI([any redirect_uri])

    Parameters:
    redirect_uri

    save

    public any save()

    Overrides:
    save in class beanORM