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 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
}
Click to show internal directories.
Click to hide internal directories.