Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthFactory ¶
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) AuthConfig ¶
func (a *Auth) AuthConfig() IAuthConfig
type Factory ¶
type Factory[T any] struct { // contains filtered or unexported fields }
func NewFactory ¶
type IAuth ¶
type IAuth interface { GenerateID(position string, tokenName string) string Type() string AuthConfig() IAuthConfig }
type IAuthConfig ¶
type IAuthConfig interface { ID() string Valid() ([]byte, error) Detail() []application_authorization_dto.DetailItem }
type IFactory ¶
func GetAuthFactory ¶
Click to show internal directories.
Click to hide internal directories.