Skip to content

QueryPostParamAuth is an action filter that supports the authentication based on the access token passed through a post parameter.

Notifications You must be signed in to change notification settings

MaksymSemenykhin/yii2-filters-auth-QueryPostParamAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

@url https://github.com/ftlmars/yii2-filters-auth-QueryPostParamAuth

yii2-filters-auth-QueryPostParamAuth

QueryPostParamAuth is an action filter that supports the authentication based on the access token passed through a post parameter.

controller:

use yii\filters\auth\QueryPostParamAuth\QueryPostParamAuth;

'authenticator' => [
    'class' => QueryPostParamAuth::className(),
    'only' => ['online' , 'info'],
],

config:

'extensions' => array_merge(
    require($vendorDir . '/yiisoft/extensions.php'),
    [
        'ftlmars/yii2/filters/auth/QueryPostParamAuth' => [
            'name' => 'ftlmars/yii2/filters/auth/QueryPostParamAuth',
            'version' => '9999999-dev',
            'alias' => [
                '@yii/filters/auth/QueryPostParamAuth' => $vendorDir.'/ftlmars/yii2-filters-auth-QueryPostParamAuth/',
            ],
        ],
    ]

),

About

QueryPostParamAuth is an action filter that supports the authentication based on the access token passed through a post parameter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages