Skip to content

Commit

Permalink
Update authentication.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo240 authored Jan 5, 2018
1 parent 1963668 commit 0eabcfc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ru/controllers/components/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,8 @@ that you extend ``BaseAuthorize``, only that your authorize object
implements an ``authorize()`` method. The ``BaseAuthorize`` class provides
a number of helpful methods that are commonly used.

Using Custom Authorize Objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Использование кастомных объектов авторизации
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Once you've created your custom authorize object, you can use them by
including them in your ``AuthComponent``'s authorize array::
Expand All @@ -952,8 +952,8 @@ including them in your ``AuthComponent``'s authorize array::
'AuthBag.Combo', // plugin authorize object.
]);

Using No Authorization
----------------------
Отказ от использования авторизации
----------------------------------

If you'd like to not use any of the built-in authorization objects and
want to handle things entirely outside of ``AuthComponent``, you can set
Expand Down

0 comments on commit 0eabcfc

Please sign in to comment.