Documentation
¶
Index ¶
- type Config
- type Option
- func WithCertificateLevel(level string) Option
- func WithHashType(hashType string) Option
- func WithInteractionType(interactionType string) Option
- func WithRelyingPartyName(name string) Option
- func WithRelyingPartyUUID(id string) Option
- func WithText(text string) Option
- func WithTimeout(timeout int) Option
- func WithURL(url string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RelyingPartyName string RelyingPartyUUID string CertificateLevel string HashType string InteractionType string Text string URL string Timeout int }
Config is a struct holds the client configuration options
type Option ¶
type Option func(*Config)
Option is a type for functional options
func WithCertificateLevel ¶
WithCertificateLevel is option to set the certificate level
func WithHashType ¶
WithHashType is option to set the hash type
func WithInteractionType ¶
WithInteractionType is option to set the interaction type
func WithRelyingPartyName ¶
WithRelayingPartyName is option to set the RelyingPartyName
func WithRelyingPartyUUID ¶
WithRelayingPartyUUID is option to set the RelyingPartyUUID
func WithTimeout ¶
WithTimeout is option to set the request timeout
Click to show internal directories.
Click to hide internal directories.