1<?php 2 3/** 4 * Licensed to Jasig under one or more contributor license 5 * agreements. See the NOTICE file distributed with this work for 6 * additional information regarding copyright ownership. 7 * 8 * Jasig licenses this file to you under the Apache License, 9 * Version 2.0 (the "License"); you may not use this file except in 10 * compliance with the License. You may obtain a copy of the License at: 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 * 20 * PHP Version 7 21 * 22 * @file CAS/Language/LanguageInterface.php 23 * @category Authentication 24 * @package PhpCAS 25 * @author Joachim Fritschi <jfritschi@freenet.de> 26 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 27 * @link https://wiki.jasig.org/display/CASC/phpCAS 28 */ 29 30/** 31 * Language Interface class for all internationalization files 32 * 33 * @class CAS_Languages_LanguageInterface 34 * @category Authentication 35 * @package PhpCAS 36 * @author Joachim Fritschi <jfritschi@freenet.de> 37 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 38 * @link https://wiki.jasig.org/display/CASC/phpCAS 39 * 40 * @sa @link internalLang Internationalization @endlink 41 * @ingroup internalLang 42 */ 43 44interface CAS_Languages_LanguageInterface 45{ 46 /** 47 * Get the using server string 48 * 49 * @return string using server 50 */ 51 public function getUsingServer(); 52 53 /** 54 * Get authentication wanted string 55 * 56 * @return string authentication wanted 57 */ 58 public function getAuthenticationWanted(); 59 60 /** 61 * Get logout string 62 * 63 * @return string logout 64 */ 65 public function getLogout(); 66 67 /** 68 * Get the should have been redirected string 69 * 70 * @return string should habe been redirected 71 */ 72 public function getShouldHaveBeenRedirected(); 73 74 /** 75 * Get authentication failed string 76 * 77 * @return string authentication failed 78 */ 79 public function getAuthenticationFailed(); 80 81 /** 82 * Get the your were not authenticated string 83 * 84 * @return string not authenticated 85 */ 86 public function getYouWereNotAuthenticated(); 87 88 /** 89 * Get the service unavailable string 90 * 91 * @return string service unavailable 92 */ 93 public function getServiceUnavailable(); 94 95} 96?> 97