mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
This is safer than passing JWTs through query parameters, unfortunately support is limited.
8 lines
154 B
Go
8 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
|
|
}
|