auth

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

This package contains the code for the Token APIs in the Deepgram auth API

Token API: https://developers.deepgram.com/reference/token-based-auth-api/grant-token

Index

Constants

View Source
const (
	PackageVersion string = "v1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*auth.Client
}

Alias

func New

func New(client interface{}) *Client

New creates a new Client from

func (*Client) GrantToken

func (c *Client) GrantToken(ctx context.Context) (*api.GrantToken, error)

GrantToken generates a JWT.

Directories

Path Synopsis
This package provides the types for the Deepgram Auth API.
This package provides the types for the Deepgram Auth API.

Jump to

Keyboard shortcuts

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