mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
f49637b09b
* Add network pkg * Go fmt * Update discovery_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
14 lines
348 B
Go
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
|
|
)
|