authz

package
v0.0.0-...-0fd5365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityUser

type SecurityUser interface {
	// ParseFromContext parses the user from the context.
	ParseFromContext(ctx context.Context) error

	// GetSubject returns the subject of the token.
	GetSubject() string

	// GetObject returns the object of the token.
	GetObject() string

	// GetAction returns the action of the token.
	GetAction() string

	// GetDomain returns the domain of the token.
	GetDomain() string
}

type SecurityUserCreator

type SecurityUserCreator func() SecurityUser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL