auth

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 11 Imported by: 1

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, req *api.GrantTokenRequest) (*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