photoprism/pkg/authn/issuer.go
Michael Mayer 5e4e6d988c Pkg: Apply "golangci-lint" recommendations to authn & dsn packages #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-21 15:33:23 +01:00

16 lines
342 B
Go

package authn
import "github.com/photoprism/photoprism/pkg/clean"
// IssuerUri represents an authentication issuer URI.
type IssuerUri = string
const (
// IssuerDefault represents the empty issuer URI.
IssuerDefault IssuerUri = ""
)
// Issuer returns a sanitized issuer URI.
func Issuer(uri string) IssuerUri {
return clean.Uri(uri)
}