apiserver: k8s.io/apiserver/pkg/authentication/request/websocket Index | Files

package websocket

import "k8s.io/apiserver/pkg/authentication/request/websocket"


Package Files


type ProtocolAuthenticator Uses

type ProtocolAuthenticator struct {
    // contains filtered or unexported fields

ProtocolAuthenticator allows a websocket connection to provide a bearer token as a subprotocol in the format "base64url.bearer.authorization.<base64url-without-padding(bearer-token)>"

func NewProtocolAuthenticator Uses

func NewProtocolAuthenticator(auth authenticator.Token) *ProtocolAuthenticator

func (*ProtocolAuthenticator) AuthenticateRequest Uses

func (a *ProtocolAuthenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error)

Package websocket imports 8 packages (graph) and is imported by 74 packages. Updated 2018-12-17. Refresh now. Tools for package owners.