registry/internal/auth/types.go
Tadas Antanavicius 8bd13d5ed7
Apply gofmt formatting to all Go files (#588)
## Summary
- Applied `gofmt -s -w` across the entire codebase to ensure consistent
Go formatting
- This will trigger a deployment with minimal code changes

## Test plan
- [x] Pre-commit hooks pass
- [x] No functional changes, formatting only

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-30 17:32:22 +03:00

19 lines
577 B
Go

package auth
// Method represents the authentication method used
type Method string
const (
// GitHub OAuth authentication (access token)
MethodGitHubAT Method = "github-at"
// GitHub Actions OIDC authentication
MethodGitHubOIDC Method = "github-oidc"
// Generic OIDC authentication
MethodOIDC Method = "oidc"
// DNS-based public/private key authentication
MethodDNS Method = "dns"
// HTTP-based public/private key authentication
MethodHTTP Method = "http"
// No authentication - should only be used for local development and testing
MethodNone Method = "none"
)