openstackid/app/Strategies/ILoginStrategy.php
smarcet@gmail.com 87f8920dd5 Social Login Feature
* Added 3rd party identity providers:
  * Facebook
  *  Google
  *  Linkedin
  *  Apple
* UI changes ( 2 steps login)
* ReactJS integration
* Webpack Update
* Meta Document update (oauth2/.well-known/openid-configuration)
* Added provider param on oauth2 flow

Depends-On: https://review.opendev.org/c/osf/openstackid/+/772531
Change-Id: I86cef9379fcd6ca5320f080e062fc2abaa36203c
2021-06-16 19:04:38 -03:00

29 lines
491 B
PHP

<?php namespace Strategies;
/**
* Interface ILoginStrategy
* @package Strategies
*/
interface ILoginStrategy
{
/**
* @return mixed
*/
public function getLogin();
/**
* @param array $params
* @return mixed
*/
public function postLogin(array $params = []);
/**
* @return mixed
*/
public function cancelLogin();
/**
* @param array $params
* @return mixed
*/
public function errorLogin(array $params);
}