mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
14 lines
354 B
Go
14 lines
354 B
Go
|
package authorizationmethod
|
||
|
|
||
|
// AuthorizationMethod is an authorization method such as 'Basic' or 'Bearer'.
|
||
|
type AuthorizationMethod uint8
|
||
|
|
||
|
const (
|
||
|
// None represents no authorization method.
|
||
|
None AuthorizationMethod = iota
|
||
|
// Basic represents Basic Authentication.
|
||
|
Basic
|
||
|
// Bearer represents Bearer Authentication (token authentication).
|
||
|
Bearer
|
||
|
)
|