suitetalk-0.0.1.0: Connection tools for Oracle Netsuite / SuiteTalk SOAP

Copyright(c) 2018 Chris D'Aloisio
LicenseMPL-2.0
Maintainerchris.daloisio@bellroy.com
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SuiteTalk.Auth

Contents

Description

Use this module to construct a valid authentication method for your SOAP service.

You can use TokenPassport to build your tokenPassport header for your SOAP request.

It is probably better to use the helper function instead as it will construct the nonce and signature for you.

Synopsis

Token Authentication

data TokenPassport Source #

Data type that contains all values for a valid TokenPassport

generateTokenPassport Source #

Arguments

:: Account

Netsuite Account ID

-> ConsumerKey

ConsumerKey from your Netsuite application (under integrations)

-> ConsumerSecret

ConsumerSecret from your Netsuite application (under integrations)

-> TokenId

Netsuite user access token ID

-> TokenSecret

Netsuite user access token secret

-> IO TokenPassport 

Create a valid tokenPassport. You will want to use this to pass in the result to your SOAP client.