Versions in this module Expand all Collapse all v2 v2.0.0 Jan 3, 2024 Changes in this version + var ProductionEnvironment = NewEnvironment("https://appapi2.bankid.com/rp/v6.0", prodCertificate) + var TestEnvironment = NewEnvironment("https://appapi2.test.bankid.com/rp/v6.0", testCertificate) + type Configuration struct + Environment *Environment + Pkcs12 *Pkcs12 + func NewConfiguration(environment *Environment, pkcs12 *Pkcs12, options ...Option) *Configuration + type Environment struct + BaseURL string + Certificate string + func NewEnvironment(baseURL string, certificate string) *Environment + type Option func(*Configuration) + type Pkcs12 struct + Content []byte + Password string