Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(token string, opts ...StaticTokenOption) *staticTokenAuthenticator
func NewRangerPlugin ¶
func NewRangerPlugin(token string) ranger.ClientPlugin
Types ¶
type StaticTokenComparer ¶
type StaticTokenOption ¶
type StaticTokenOption func(c *staticTokenAuthenticator)
func WithBcryptCost ¶
func WithBcryptCost(bcryptCost int) StaticTokenOption
func WithComparer ¶
func WithComparer(comparer StaticTokenComparer) StaticTokenOption
Click to show internal directories.
Click to hide internal directories.