Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

github.com/speakeasy-sdks/prove-go-sdk

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/speakeasy-sdks/prove-go-sdk

Source
Go
Version
v1.6.0
Version published
Created
Source

Go SDK for Prove Auth API

The modern way of proving identity

SDK Installation

go get github.com/speakeasy-sdks/prove-go-sdk

Authentication

Please contact Prove Customer Support for API access.

SDK Example Usage

package main

import(
	"context"
	"log"
	"github.com/speakeasy-sdks/prove-go-sdk"
	"github.com/speakeasy-sdks/prove-go-sdk/pkg/models/operations"
)

func main() {
    s := prove.New(
        prove.WithSecurity(shared.Security{
            BearerAuth: "Bearer YOUR_BEARER_TOKEN_HERE",
        }),
    )

    ctx := context.Background()
    res, err := s.PostToken(ctx, operations.PostTokenRequestBody{
        GrantType: prove.String("corrupti"),
        Password: prove.String("provident"),
        Username: prove.String("Micheal_Sporer"),
    })
    if err != nil {
        log.Fatal(err)
    }

    if res.PostToken200ApplicationJSONObject != nil {
        // handle response
    }
}

Available Resources and Operations

Prove SDK

  • PostToken - /token

AuthByRedirectController

ContactComplianceController

FonebookDisenrollController

  • Enroll1 - The /fonebook/disenroll/v1 endpoint request sends the consumer's customer ID alone or with either the desired phone number or Payfone Alias to then return disenroll records of either all the records associated with the customer ID or the specific phone number or Payfone Alias associated to the customer ID.

FonebookEnrollController

  • Enroll - The /fonebook/enroll/v1 endpoint passes the consumer's phone number and customer ID and—if not already enrolled—returns their enrolled Payfone Alias for your Identity Manager.

FonebookReadController

  • Enroll2 - The /fonebook/customers/v1 endpoint request sends the consumer's customer ID alone or with either the desired phone number or Payfone Alias to then return information on the enrolled records for the entire customer ID or the specific phone number or Payfone Alias.

FonebookVerifyController

  • Verify - The /fonebook/verification/v1 endpoint uses the consumer's phone number(s) customer ID, name, and one other piece of personal identifying information (PII) to return a complete record of enriched and verified phone numbers associated to the consumer and enrolled in your Identity Manager.

FortifiedController

IdentityControllerV2

TrustPostController

VerifyPhoneNumberController

VerifyPostController

SDK Generated by Speakeasy

FAQs

Package last updated on 02 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts