kernel/private/rest/classes/auth/auth_style.php

Show: inherited
    Table of Contents

    File containing the ezpRestAuthenticationStyleInterface interface.

    Copyright
    Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
    License
    eZ Business Use License Agreement Version 2.0  
    Package
    kernel  
    Version
    4.6.0  

    \ezpRestAuthenticationStyleInterface

    Package: kernel

    File containing the ezpRestAuthenticationStyleInterface interface.

    Children
    \ezpRestBasicAuthStyle
    \ezpRestNoAuthStyle
    \ezpRestOauthAuthenticationStyle
    Copyright
    Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
    License
    eZ Business Use License Agreement Version 2.0  
    Version
    4.6.0  

    Methods

    methodpublicauthenticate(  $auth,  $request ) : \eZUser | \ezcMvcInternalRedirect

    Method to be run inside the runRequestFilters hook inside MvcTools.

    This method should take care of seting up proper redirections to MvcTools

    Parameters
    Name Type Description
    $auth
    $request
    Returns
    Type Description
    \eZUser | \ezcMvcInternalRedirect
    methodpublicgetUser( ) : \eZUser

    Returns valid eZPublish user that has been authenticated by {@link self::authenticate()}

    Returns
    Type Description
    \eZUser
    methodpublicsetUser( \eZUser $user ) : void

    Registers the user that has been authenticated

    Parameters
    Name Type Description
    $user \eZUser
    methodpublicsetup( \ezcMvcRequest $request ) : void

    Setting up the state to allow for later authentcation checks.

    Parameters
    Name Type Description
    $request \ezcMvcRequest
    Documentation was generated by DocBlox 0.18.1.