<?php
$config = [
    'admin' => [
        'core:AdminPassword',
    ],

    'example-multi' => [
        'multiauth:MultiAuth',
        'sources' => [
            'webauthn-ssp-module' => [
                'text' => [
                    'en' => 'Log in (using passkey)',
                ],
                'AuthnContextClassRef' => ['https://refeds.org/profile/mfa', 'https://refeds.org/profile/sfa'],
            ],
            'example-userpass' => [
                'text' => [
                    'en' => 'I cannot use a passkey right now (log in using username and password)',
                ],
                'AuthnContextClassRef' => 'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport',
            ],
        ],
    ],

    'webauthn-ssp-module' => [
        'webauthn:Passwordless',
        'authncontextclassref' => 'https://refeds.org/profile/mfa',
    ],

    'webauthn-supercharged' => [
        'webauthn:Supercharged',
        'authncontextclassref' => 'https://refeds.org/profile/mfa',
    ],

    'default-sp' => [
        'saml:SP',
        'entityID' => 'https://passkey.grnet.gr/simplesamlphp/',
        'idp' => null,
        'discoURL' => null,
        'proxymode.passAuthnContextClassRef' => false,
    ],

    'example-userpass' => [
        'exampleauth:UserPass',
        'user:ASECRETPASSWORDHERE' => [
            'uid' => ['test'],
            'eduPersonAffiliation' => ['member', 'student'],
        ],
    ],
];
