prysm-pulse/network/authorization/authorization_method.go
terence tsao f49637b09b
Move iputil and httpuil pkgs into network pkg (#9621)
* Add network pkg

* Go fmt

* Update discovery_test.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-09-16 19:12:27 +00:00

14 lines
348 B
Go

package authorization
// 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
)