dto

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanAccessResourceInput

type CanAccessResourceInput struct {
	Context      *fiberoapi.AuthContext
	ResourceType string
	ResourceID   string
	Action       string
}

type CreateSessionInput

type CreateSessionInput struct {
	UserId    string
	UserAgent string
	IpAddress string
	ExpiresAt time.Time
}

type CreateSessionOutput

type CreateSessionOutput struct {
	SessionId string
}

type GetUserPermissionsInput

type GetUserPermissionsInput struct {
	Context      *fiberoapi.AuthContext
	ResourceType string
	ResourceID   string
}

type GetUserPermissionsOutput

type GetUserPermissionsOutput struct {
	Permission *fiberoapi.ResourcePermission
}

type HasRoleInput

type HasRoleInput struct {
	Context *fiberoapi.AuthContext
	Role    string
}

type HasScopeInput

type HasScopeInput struct {
	Context *fiberoapi.AuthContext
	Scope   string
}

type InvalidateSessionInput

type InvalidateSessionInput struct {
	SessionId string
}

type ValidateTokenInput

type ValidateTokenInput struct {
	Token string
}

type ValidateTokenOutput

type ValidateTokenOutput struct {
	AuthContext *fiberoapi.AuthContext
}

Jump to

Keyboard shortcuts

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