Files
api-antrian-operasi/internal/domain/keycloak/responseKeycloak.go
2026-02-19 14:13:25 +07:00

16 lines
454 B
Go

package keycloak
type TokenErrorResponse struct {
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}
type TokenResponse struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
RefreshExpiresIn int `json:"refresh_expires_in"`
TokenType string `json:"token_type"`
Scope string `json:"scope"`
}