42 lines
870 B
PHP
42 lines
870 B
PHP
<?php
|
|
|
|
namespace App\Interfaces;
|
|
|
|
interface SpsConfigInterface
|
|
{
|
|
/**
|
|
* URL method
|
|
* Website (SP) url ex: https://le-gaulois-pro.s-web.test
|
|
*
|
|
* @return string
|
|
*/
|
|
public function url(): string;
|
|
/**
|
|
* acsBase64 method
|
|
* Return destination url base64 encoded
|
|
*
|
|
* @return string
|
|
*/
|
|
public function acsBase64(): string;
|
|
/**
|
|
* destination method
|
|
* Return acs url concatenated with url
|
|
*
|
|
* @return string
|
|
*/
|
|
public function destination(): string;
|
|
/**
|
|
* logout method
|
|
* Return sls url concatenated with url
|
|
*
|
|
* @return string
|
|
*/
|
|
public function logout(): string;
|
|
/**
|
|
* certificate method
|
|
* Return certificate (.pem) file from kebab case of Enum name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function certificate(): string;
|
|
}
|