types Package

Import Path: github.com/systmms/incidents/internal/auth/types

Constants

RoleAdmin (and others)

Role constants

const RoleAdmin const RoleIncidentCommander const RoleViewer const RoleReadonly

ProviderLocal (and others)

Provider constants

const ProviderLocal const ProviderOIDC const ProviderOAuth const ProviderSAML

Types

AuthClaims

AuthClaims represents JWT claims

{<nil> 1495 type 0 [0x14000478840] 0}

ChangePasswordRequest

ChangePasswordRequest represents a password change request

{<nil> 2907 type 0 [0x14000479080] 0}

LoginRequest

LoginRequest represents a login request

{<nil> 2207 type 0 [0x14000478d00] 0}

LoginResponse

LoginResponse represents a login response

{<nil> 2392 type 0 [0x14000478e00] 0}

Session

Session represents an active user session

{<nil> 981 type 0 [0x14000478540] 0}

SetupRequest

SetupRequest represents initial admin setup

{<nil> 2527 type 0 [0x14000478f00] 0}

User

User represents a user in the system

{<nil> 111 type 0 [0x14000478140] 0}

Functions

IsValidRole

IsValidRole checks if a role is valid

{<nil> <nil> IsValidRole 0x1400047b800 <nil>}

Generated automatically from Go source code. Last updated: 2025-08-25T07:51:05-04:00