authcodeapi

package
v0.0.0-...-8a2cf50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package authcodeapi connects and sends requests to the authcode api flow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	AuthCodeAPIURL  string
	AuthCodeAPIPath string
	APIKey          string
}

Client interacts with the AuthCode API

func NewClient

func NewClient(authCodeAPIURL, authCodeAPIPath, apiKey string) *Client

NewClient will construct a new client service struct that can be used to interact with the Client API

func (*Client) SendAuthCodeItem

func (c *Client) SendAuthCodeItem(item *models.AuthCodeItem, authCodeRequestID string) error

SendAuthCodeItem sends an item to the AuthCode API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL