types

package
v0.0.0-...-de38334 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Details interface{} `json:"details"`
}

type ErrorResponse

type ErrorResponse struct {
	Error Error `json:"error"`
}

type IntrospectionResult

type IntrospectionResult struct {
	Active    bool     `json:"active"`
	Aud       []string `json:"aud"`
	ClientId  string   `json:"client_id"`
	Exp       int      `json:"exp"`
	Iat       int      `json:"iat"`
	Iss       string   `json:"iss"`
	Jti       string   `json:"jti"`
	Nbf       int      `json:"nbf"`
	Scope     string   `json:"scope"`
	TokenType string   `json:"token_type"`
	Username  string   `json:"username"`
	Sub       string   `json:"sub"`
	Roles     any      `json:"urn:zitadel:iam:org:project:roles"`
}

type SuccessResponse

type SuccessResponse struct {
	Data interface{} `json:"data"`
}

type SuccessSearchResponse

type SuccessSearchResponse struct {
	Data     interface{} `json:"data"`
	Page     int         `json:"page"`
	PageSize int         `json:"page_size"`
	Total    int64       `json:"total"`
}

type ZitadelError

type ZitadelError struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Details any    `json:"details"`
}

Jump to

Keyboard shortcuts

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