Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TestEnvironment contains the environment specific fields for the test environment. TestEnvironment = NewEnvironment("https://appapi2.test.bankid.com/rp/v6.0", testCertificate) // ProductionEnvironment contains the environment specific fields for the production environment. ProductionEnvironment = NewEnvironment("https://appapi2.bankid.com/rp/v6.0", prodCertificate) )
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Environment *Environment Pkcs12 *Pkcs12 }
Configuration contains the configuration specific fields.
func NewConfiguration ¶
func NewConfiguration(environment *Environment, pkcs12 *Pkcs12, options ...Option) *Configuration
NewConfiguration creates a new configuration.
type Environment ¶
Environment contains the environment specific fields.
func NewEnvironment ¶
func NewEnvironment(baseURL string, certificate string) *Environment
NewEnvironment creates a new environment.
Click to show internal directories.
Click to hide internal directories.