Files
rtsp-simple-server/internal/auth/credentials.go
Alessandro Ros f97213ae6e support passing JWTs through the password field (#4516)
This is safer than passing JWTs through query parameters, unfortunately support is limited.
2025-05-10 22:54:24 +02:00

9 lines
154 B
Go

package auth
// Credentials is a set of credentials (either user+pass or a token).
type Credentials struct {
User string
Pass string
Token string
}