Documentation ¶
Index ¶
- func CreateInvoiceNotificationMessage(ctx goContext.Context, senderUri, recipientUri, invoiceId string, ...) (string, error)
- type Body
- type Configuration
- type Connector
- func (c *Connector) GetLoggedUserInfo(ctx goContext.Context, oboToken string) (*User, *SamlToken, error)
- func (c *Connector) GetLogoutUrl(ctx goContext.Context, callbackUrl, oboToken string) (string, error)
- func (c *Connector) GetSamlToken(ctx goContext.Context, oboToken string) (*SamlToken, error)
- func (c *Connector) GetUser(ctx goContext.Context, oboToken string) (*User, error)
- func (c *Connector) SendInvoiceNotification(ctx goContext.Context, skTalkMessage string) error
- type GeneralAgenda
- type Header
- type InvalidTokenError
- type MessageContainer
- type MessageInfo
- type Object
- type RawSamlToken
- type SKTalkMessage
- type SamlToken
- type UpvsError
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Body ¶
type Body struct {
MessageContainer MessageContainer
}
type Configuration ¶
type Configuration struct { Url string ApiTokenPrivateKey string OboTokenPublicKey string // Identifier of certificate used for communication trough UPVS SSO. Required for sending notifications. SsoSubject string }
func NewConfig ¶
func NewConfig(defaultConfig Configuration) Configuration
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Configuration) *Connector
func (*Connector) GetLoggedUserInfo ¶
func (*Connector) GetLogoutUrl ¶
func (*Connector) GetSamlToken ¶
type GeneralAgenda ¶
type Header ¶
type Header struct {
MessageInfo MessageInfo
}
type InvalidTokenError ¶
type InvalidTokenError struct {
Message string
}
func (InvalidTokenError) Error ¶
func (e InvalidTokenError) Error() string
type MessageContainer ¶
type MessageInfo ¶
type RawSamlToken ¶
type SKTalkMessage ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.