BankIDConfig
class BankIDConfig implements BankIDConfigInterface
Provides access to BankID configuration settings.
Constants
| DEFAULT_EXPIRY_TIME |
The default expiry time in seconds. |
Methods
Constructs a new BankIDConfig instance.
Checks whether the mock environment is active.
Gets the active environment.
Gets the order expiry time in seconds.
Gets the API base URL for an environment.
Gets the RP certificate key name for an environment.
Gets the RP certificate passphrase key name for an environment.
Gets the server certificate issuer key name for an environment.
Gets the raw immutable configuration object.
Details
at line 26
__construct(ConfigFactoryInterface $configFactory)
Constructs a new BankIDConfig instance.
at line 33
bool
isMockActive()
Checks whether the mock environment is active.
at line 40
string
getEnvironment()
Gets the active environment.
at line 48
int
getExpiryTime()
Gets the order expiry time in seconds.
at line 56
string
getApiBaseUrl(string|null $environment = NULL)
Gets the API base URL for an environment.
at line 65
string|null
getRpCertificateKey(string|null $environment = NULL)
Gets the RP certificate key name for an environment.
at line 74
string|null
getRpPassphraseKey(string|null $environment = NULL)
Gets the RP certificate passphrase key name for an environment.
at line 83
string|null
getIssuerCertificateKey(string|null $environment = NULL)
Gets the server certificate issuer key name for an environment.
at line 92
ImmutableConfig
getRawConfig()
Gets the raw immutable configuration object.