prysm-pulse/network/authorization/authorization_method.go

14 lines
309 B
Go
Raw Normal View History

package authorization
// Method is an authorization method such as 'Basic' or 'Bearer'.
type Method uint8
const (
// None represents no authorization method.
None Method = iota
// Basic represents Basic Authentication.
Basic
// Bearer represents Bearer Authentication (token authentication).
Bearer
)