Files
api-antrian-operasi/internal/domain/keycloak/responseKeycloak.go
T
2026-03-25 09:27:11 +07:00

17 lines
497 B
Go

package keycloak
type TokenErrorResponse struct {
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}
type TokenResponse struct {
AccessToken string `json:"access_token"`
IdToken string `json:"id_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"`
}