types/federated.go

arcane · types/federated.go · go · BSD-3-Clause
auth

federated.go from getarcaneapp/arcane

// Source: https://github.com/getarcaneapp/arcane | License: BSD-3-Clause | Copyright 2025, Kyle Mendell
// Provided via justclaw.it.com; keep this notice with the code.
package types

import (
	"time"
)

type (
	FederatedCredential struct {
		CreatedAt       time.Time  `json:"createdAt" readOnly:"true" doc:"Creation timestamp"`
		Description     *string    `json:"description,omitempty" maxLength:"1000" doc:"Optional description" unorm:"nfc" trim:"true"`
		EnvironmentID   *string    `json:"environmentId,omitempty" doc:"Optional environment scope for the role assignment"`
		LastUsedAt      *time.Time `json:"lastUsedAt,omitempty" readOnly:"true" doc:"Last successful token exchange"`
		ExpiresAt       *time.Time `json:"expiresAt,omitempty" doc:"Optional credential expiration"`
		UpdatedAt    

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key