github.com/prysmaticlabs/prysm@v1.4.4/shared/httputils/authorizationmethod/authorization_method.go (about)

     1  package authorizationmethod
     2  
     3  // AuthorizationMethod is an authorization method such as 'Basic' or 'Bearer'.
     4  type AuthorizationMethod uint8
     5  
     6  const (
     7  	// None represents no authorization method.
     8  	None AuthorizationMethod = iota
     9  	// Basic represents Basic Authentication.
    10  	Basic
    11  	// Bearer represents Bearer Authentication (token authentication).
    12  	Bearer
    13  )