prysm-pulse/network/authorization/authorization_method.go
terencechain 9387a36b66
Refactor Exported Names to Follow Golang Best Practices (#13075)
* Fix exported names that start with a package name

* A few more renames

* Fix exported names that start with a package name

* A few more renames

* Radek's feedback

* Fix conflict

* fix keymanager test

* Fix comments

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 16:45:33 +00:00

14 lines
309 B
Go

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
)