add delegatedauthentication to validated server config (#11053)

This commit is contained in:
Kerry
2023-06-13 13:43:25 +12:00
committed by GitHub
parent d5d1ec775c
commit 41dfec20bf
3 changed files with 68 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { IDelegatedAuthConfig } from "matrix-js-sdk/src/client";
import { ValidatedIssuerConfig } from "matrix-js-sdk/src/oidc/validate";
export interface ValidatedServerConfig {
hsUrl: string;
hsName: string;
@@ -26,4 +29,6 @@ export interface ValidatedServerConfig {
isNameResolvable: boolean;
warning: string | Error;
delegatedAuthentication?: IDelegatedAuthConfig & ValidatedIssuerConfig;
}