Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Login interface #1966

Closed
yurikuzn opened this issue Apr 8, 2021 · 0 comments
Closed

New Login interface #1966

yurikuzn opened this issue Apr 8, 2021 · 0 comments
Assignees
Milestone

Comments

@yurikuzn
Copy link
Contributor

yurikuzn commented Apr 8, 2021

<?php

namespace Espo\Core\Authentication;

use Espo\Core\Api\Request;
use Espo\Core\Authentication\Result;
use Espo\Core\Authentication\Login\Data;

/**
 * Performs credentials checking. For the basic authorization a username & password are used.
 * For other authorization methods credentials must be fetched from the request.
 */
interface Login
{
    /**
     * Check credentials.
     */
    public function login(Data $data, Request $request): Result;
}
@yurikuzn yurikuzn added change php Pull requests that update Php code labels Apr 8, 2021
@yurikuzn yurikuzn added this to the Version 6.2.0 milestone Apr 8, 2021
@yurikuzn yurikuzn self-assigned this Apr 8, 2021
@yurikuzn yurikuzn closed this as completed Apr 8, 2021
@yurikuzn yurikuzn added back-end and removed php Pull requests that update Php code labels Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant