package auth
import "go-hep.org/x/hep/xrootd/xrdproto/auth"
Package auth contains the structures describing auth request.
Index ¶
Constants ¶
const RequestID uint16 = 3000
RequestID is the id of the request, it is sent as part of message. See xrootd protocol specification for details: http://xrootd.org/doc/dev45/XRdv310.pdf, 2.3 Client Request Format.
Types ¶
type Auther ¶
type Auther interface { Provider() string // Provider returns the name of the security provider. Request(params []string) (*Request, error) // Request forms an authorization Request according to passed parameters. }
Auther is the interface that must be implemented by a security provider.
type Request ¶
Request holds the auth request parameters.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Request) ReqID ¶
ReqID implements xrdproto.Request.ReqID.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.
func (*Request) UnmarshalXrd ¶
UnmarshalXrd implements xrdproto.Unmarshaler.
Source Files ¶
auth.go
Directories ¶
Path | Synopsis |
---|---|
xrootd/xrdproto/auth/host | Package host contains the implementation for the "host" security provider. |
xrootd/xrdproto/auth/krb5 | Package krb5 contains the implementation of krb5 (Kerberos) security provider. |
xrootd/xrdproto/auth/unix | Package unix contains the implementation of unix security provider. |
- Version
- v0.37.0 (latest)
- Published
- May 20, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 9 hours ago –
Tools for package owners.