ciba

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 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 Request

type Request struct {
	// The client_id of your client.
	ClientID string `json:"client_id,omitempty"`
	// The client_secret of your client.
	ClientSecret string `json:"client_secret,omitempty"`
	// This is a required field containing format, iss and sub
	LoginHint map[string]string `json:"login_hint,omitempty"`
	// The scope for the flow
	Scope          string `json:"scope,omitempty"`
	Audience       string `json:"audience,omitempty"`
	BindingMessage string `json:"binding_message,omitempty"`
}

Request defines the request body for calling the bc-authorize endpoint.

type Response

type Response struct {
	AuthReqID string `json:"auth_req_id,omitempty"`
	ExpiresIn int64  `json:"expires_in,omitempty"`
	Interval  int64  `json:"interval,omitempty"`
}

Response defines the response of the CIBA request.

Jump to

Keyboard shortcuts

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