Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Conversation

@spandansingh
Copy link

With this the user can override Configure::Opauth['AuthComponent'] for their own custom AuthComponent Class.

eg :- If user want to make his own AuthComponent class like

class MyAuthComponent extends AuthComponent{

}

then in his bootstrap file he can write
CakePlugin::load('Opauth', array('routes' => true, 'bootstrap' => true));
Configure::write('Opauth.AuthComponent','MyAuth') ;
and OpauthController will be allowed by MyAuth

@spandansingh spandansingh changed the title Custom AuthComponent Class Added custom AuthComponent class support added Aug 25, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant