Movatterモバイル変換


[0]ホーム

URL:


apikey

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:10Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcGenerate

Generate generates an API key, returning the key as a string as well as thedatabase representation. It is the responsibility of the caller to insert itinto the database.

Types

typeCreateParams

type CreateParams struct {UserIDuuid.UUIDLoginTypedatabase.LoginType// DefaultLifetime is configured in DeploymentValues.// It is used if both ExpiresAt and LifetimeSeconds are not set.DefaultLifetimetime.Duration// Optional.ExpiresAttime.TimeLifetimeSecondsint64Scopedatabase.APIKeyScopeTokenNamestringRemoteAddrstring}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp