tan

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForTANError

func CheckForTANError(res *http.Response) error

CheckForTANError checks if there was an error after entering the iTAN by reading the HTML of the response

func RemoveTanPrefix

func RemoveTanPrefix(itan string, prefix string) string

RemoveTanPrefix removes the prefix, if the passed iTAN starts with it

func SendTAN

func SendTAN(client *http.Client, reqURL string, itanWithoutPrefix string, sessionNumber string, registrationId string) error

SendTAN does the request, which sends the iTAN to the STiNE servers, it returns an error, if the authentication was not successful

Types

This section is empty.

Jump to

Keyboard shortcuts

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