ueau

package
v0.0.0-...-b1a38c4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Overview

Package ueau provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.1-0.20240123090344-d326c01d279a DO NOT EDIT.

Index

Constants

View Source
const (
	OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)

Variables

This section is empty.

Functions

func GetKinOpenApi3Document

func GetKinOpenApi3Document() (*openapi3.T, error)

func GetKinOpenApi3DocumentMust

func GetKinOpenApi3DocumentMust() *openapi3.T

func NewConfirmAuthRequest

func NewConfirmAuthRequest(server string, supi externalRef0.Supi, body ConfirmAuthJSONRequestBody) (*http.Request, error)

NewConfirmAuthRequest calls the generic ConfirmAuth builder with application/json body

func NewConfirmAuthRequestWithBody

func NewConfirmAuthRequestWithBody(server string, supi externalRef0.Supi, contentType string, body io.Reader) (*http.Request, error)

NewConfirmAuthRequestWithBody generates requests for ConfirmAuth with any type of body

func NewDeleteAuthRequest

func NewDeleteAuthRequest(server string, supi externalRef0.Supi, authEventId string, body DeleteAuthJSONRequestBody) (*http.Request, error)

NewDeleteAuthRequest calls the generic DeleteAuth builder with application/json body

func NewDeleteAuthRequestWithBody

func NewDeleteAuthRequestWithBody(server string, supi externalRef0.Supi, authEventId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteAuthRequestWithBody generates requests for DeleteAuth with any type of body

func NewGenerateAuthDataRequest

func NewGenerateAuthDataRequest(server string, supiOrSuci externalRef0.SupiOrSuci, body GenerateAuthDataJSONRequestBody) (*http.Request, error)

NewGenerateAuthDataRequest calls the generic GenerateAuthData builder with application/json body

func NewGenerateAuthDataRequestWithBody

func NewGenerateAuthDataRequestWithBody(server string, supiOrSuci externalRef0.SupiOrSuci, contentType string, body io.Reader) (*http.Request, error)

NewGenerateAuthDataRequestWithBody generates requests for GenerateAuthData with any type of body

func NewGenerateAvRequest

func NewGenerateAvRequest(server string, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, body GenerateAvJSONRequestBody) (*http.Request, error)

NewGenerateAvRequest calls the generic GenerateAv builder with application/json body

func NewGenerateAvRequestWithBody

func NewGenerateAvRequestWithBody(server string, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, contentType string, body io.Reader) (*http.Request, error)

NewGenerateAvRequestWithBody generates requests for GenerateAv with any type of body

func NewGetRgAuthDataRequest

func NewGetRgAuthDataRequest(server string, supiOrSuci externalRef0.SupiOrSuci, params *GetRgAuthDataParams) (*http.Request, error)

NewGetRgAuthDataRequest generates requests for GetRgAuthData

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type AccessNetworkId

type AccessNetworkId string

AccessNetworkId defines model for AccessNetworkId.

const (
	ETHERNET AccessNetworkId = "ETHERNET"
	HRPD     AccessNetworkId = "HRPD"
	WIMAX    AccessNetworkId = "WIMAX"
	WLAN     AccessNetworkId = "WLAN"
)

Defines values for AccessNetworkId.

type AuthEvent

type AuthEvent struct {
	AuthRemovalInd       *bool                     `json:"authRemovalInd,omitempty"`
	AuthType             AuthType                  `json:"authType"`
	NfInstanceId         externalRef0.NfInstanceId `json:"nfInstanceId"`
	NfSetId              *externalRef0.NfSetId     `json:"nfSetId,omitempty"`
	ServingNetworkName   ServingNetworkName        `json:"servingNetworkName"`
	Success              Success                   `json:"success"`
	TimeStamp            externalRef0.DateTime     `json:"timeStamp"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

AuthEvent defines model for AuthEvent.

func (AuthEvent) Get

func (a AuthEvent) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AuthEvent. Returns the specified element and whether it was found

func (AuthEvent) MarshalJSON

func (a AuthEvent) MarshalJSON() ([]byte, error)

Override default JSON handling for AuthEvent to handle AdditionalProperties

func (*AuthEvent) Set

func (a *AuthEvent) Set(fieldName string, value interface{})

Setter for additional properties for AuthEvent

func (*AuthEvent) UnmarshalJSON

func (a *AuthEvent) UnmarshalJSON(b []byte) error

Override default JSON handling for AuthEvent to handle AdditionalProperties

type AuthType

type AuthType string

AuthType defines model for AuthType.

const (
	AuthTypeEAPAKAPRIME AuthType = "EAP_AKA_PRIME"
	AuthTypeEAPTLS      AuthType = "EAP_TLS"
	AuthTypeN5GAKA      AuthType = "5G_AKA"
)

Defines values for AuthType.

type AuthenticatedInd

type AuthenticatedInd = bool

AuthenticatedInd defines model for AuthenticatedInd.

type AuthenticationInfoRequest

type AuthenticationInfoRequest struct {
	AusfInstanceId        externalRef0.NfInstanceId       `json:"ausfInstanceId"`
	CellCagInfo           []externalRef0.CagId            `json:"cellCagInfo,omitempty"`
	N5gcInd               *bool                           `json:"n5gcInd,omitempty"`
	ResynchronizationInfo *ResynchronizationInfo          `json:"resynchronizationInfo,omitempty"`
	ServingNetworkName    ServingNetworkName              `json:"servingNetworkName"`
	SupportedFeatures     *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties  map[string]interface{}          `json:"-"`
}

AuthenticationInfoRequest defines model for AuthenticationInfoRequest.

func (AuthenticationInfoRequest) Get

func (a AuthenticationInfoRequest) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AuthenticationInfoRequest. Returns the specified element and whether it was found

func (AuthenticationInfoRequest) MarshalJSON

func (a AuthenticationInfoRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for AuthenticationInfoRequest to handle AdditionalProperties

func (*AuthenticationInfoRequest) Set

func (a *AuthenticationInfoRequest) Set(fieldName string, value interface{})

Setter for additional properties for AuthenticationInfoRequest

func (*AuthenticationInfoRequest) UnmarshalJSON

func (a *AuthenticationInfoRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for AuthenticationInfoRequest to handle AdditionalProperties

type AuthenticationInfoResult

type AuthenticationInfoResult struct {
	AuthType             AuthType                        `json:"authType"`
	AuthenticationVector *AuthenticationVector           `json:"authenticationVector,omitempty"`
	Supi                 externalRef0.Supi               `json:"supi,omitempty"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

AuthenticationInfoResult defines model for AuthenticationInfoResult.

func (AuthenticationInfoResult) Get

func (a AuthenticationInfoResult) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AuthenticationInfoResult. Returns the specified element and whether it was found

func (AuthenticationInfoResult) MarshalJSON

func (a AuthenticationInfoResult) MarshalJSON() ([]byte, error)

Override default JSON handling for AuthenticationInfoResult to handle AdditionalProperties

func (*AuthenticationInfoResult) Set

func (a *AuthenticationInfoResult) Set(fieldName string, value interface{})

Setter for additional properties for AuthenticationInfoResult

func (*AuthenticationInfoResult) UnmarshalJSON

func (a *AuthenticationInfoResult) UnmarshalJSON(b []byte) error

Override default JSON handling for AuthenticationInfoResult to handle AdditionalProperties

type AuthenticationVector

type AuthenticationVector struct {
	// contains filtered or unexported fields
}

AuthenticationVector defines model for AuthenticationVector.

func (AuthenticationVector) AsAv5GHeAka

func (t AuthenticationVector) AsAv5GHeAka() (Av5GHeAka, error)

AsAv5GHeAka returns the union data inside the AuthenticationVector as a Av5GHeAka

func (AuthenticationVector) AsAvEapAkaPrime

func (t AuthenticationVector) AsAvEapAkaPrime() (AvEapAkaPrime, error)

AsAvEapAkaPrime returns the union data inside the AuthenticationVector as a AvEapAkaPrime

func (AuthenticationVector) Discriminator

func (t AuthenticationVector) Discriminator() (string, error)

func (*AuthenticationVector) FromAv5GHeAka

func (t *AuthenticationVector) FromAv5GHeAka(v Av5GHeAka) error

FromAv5GHeAka overwrites any union data inside the AuthenticationVector as the provided Av5GHeAka

func (*AuthenticationVector) FromAvEapAkaPrime

func (t *AuthenticationVector) FromAvEapAkaPrime(v AvEapAkaPrime) error

FromAvEapAkaPrime overwrites any union data inside the AuthenticationVector as the provided AvEapAkaPrime

func (AuthenticationVector) MarshalJSON

func (t AuthenticationVector) MarshalJSON() ([]byte, error)

func (*AuthenticationVector) MergeAv5GHeAka

func (t *AuthenticationVector) MergeAv5GHeAka(v Av5GHeAka) error

MergeAv5GHeAka performs a merge with any union data inside the AuthenticationVector, using the provided Av5GHeAka

func (*AuthenticationVector) MergeAvEapAkaPrime

func (t *AuthenticationVector) MergeAvEapAkaPrime(v AvEapAkaPrime) error

MergeAvEapAkaPrime performs a merge with any union data inside the AuthenticationVector, using the provided AvEapAkaPrime

func (*AuthenticationVector) UnmarshalJSON

func (t *AuthenticationVector) UnmarshalJSON(b []byte) error

func (AuthenticationVector) ValueByDiscriminator

func (t AuthenticationVector) ValueByDiscriminator() (interface{}, error)

type Autn

type Autn = string

Autn defines model for Autn.

type Auts

type Auts = string

Auts defines model for Auts.

type Av5GHeAka

type Av5GHeAka struct {
	Autn                 Autn                   `json:"autn"`
	AvType               AvType                 `json:"avType"`
	Kausf                Kausf                  `json:"kausf"`
	Rand                 Rand                   `json:"rand"`
	XresStar             XresStar               `json:"xresStar"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Av5GHeAka defines model for Av5GHeAka.

func (Av5GHeAka) Get

func (a Av5GHeAka) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Av5GHeAka. Returns the specified element and whether it was found

func (Av5GHeAka) MarshalJSON

func (a Av5GHeAka) MarshalJSON() ([]byte, error)

Override default JSON handling for Av5GHeAka to handle AdditionalProperties

func (*Av5GHeAka) Set

func (a *Av5GHeAka) Set(fieldName string, value interface{})

Setter for additional properties for Av5GHeAka

func (*Av5GHeAka) UnmarshalJSON

func (a *Av5GHeAka) UnmarshalJSON(b []byte) error

Override default JSON handling for Av5GHeAka to handle AdditionalProperties

type AvEapAkaPrime

type AvEapAkaPrime struct {
	Autn                 Autn                   `json:"autn"`
	AvType               AvType                 `json:"avType"`
	CkPrime              CkPrime                `json:"ckPrime"`
	IkPrime              IkPrime                `json:"ikPrime"`
	Rand                 Rand                   `json:"rand"`
	Xres                 Xres                   `json:"xres"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AvEapAkaPrime defines model for AvEapAkaPrime.

func (AvEapAkaPrime) Get

func (a AvEapAkaPrime) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AvEapAkaPrime. Returns the specified element and whether it was found

func (AvEapAkaPrime) MarshalJSON

func (a AvEapAkaPrime) MarshalJSON() ([]byte, error)

Override default JSON handling for AvEapAkaPrime to handle AdditionalProperties

func (*AvEapAkaPrime) Set

func (a *AvEapAkaPrime) Set(fieldName string, value interface{})

Setter for additional properties for AvEapAkaPrime

func (*AvEapAkaPrime) UnmarshalJSON

func (a *AvEapAkaPrime) UnmarshalJSON(b []byte) error

Override default JSON handling for AvEapAkaPrime to handle AdditionalProperties

type AvEpsAka

type AvEpsAka struct {
	Autn                 Autn                   `json:"autn"`
	AvType               HssAvType              `json:"avType"`
	Kasme                Kasme                  `json:"kasme"`
	Rand                 Rand                   `json:"rand"`
	Xres                 Xres                   `json:"xres"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AvEpsAka defines model for AvEpsAka.

func (AvEpsAka) Get

func (a AvEpsAka) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AvEpsAka. Returns the specified element and whether it was found

func (AvEpsAka) MarshalJSON

func (a AvEpsAka) MarshalJSON() ([]byte, error)

Override default JSON handling for AvEpsAka to handle AdditionalProperties

func (*AvEpsAka) Set

func (a *AvEpsAka) Set(fieldName string, value interface{})

Setter for additional properties for AvEpsAka

func (*AvEpsAka) UnmarshalJSON

func (a *AvEpsAka) UnmarshalJSON(b []byte) error

Override default JSON handling for AvEpsAka to handle AdditionalProperties

type AvImsGbaEapAka

type AvImsGbaEapAka struct {
	Autn                 Autn                   `json:"autn"`
	AvType               HssAvType              `json:"avType"`
	Ck                   ConfidentialityKey     `json:"ck"`
	Ik                   IntegrityKey           `json:"ik"`
	Rand                 Rand                   `json:"rand"`
	Xres                 Xres                   `json:"xres"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AvImsGbaEapAka defines model for AvImsGbaEapAka.

func (AvImsGbaEapAka) Get

func (a AvImsGbaEapAka) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AvImsGbaEapAka. Returns the specified element and whether it was found

func (AvImsGbaEapAka) MarshalJSON

func (a AvImsGbaEapAka) MarshalJSON() ([]byte, error)

Override default JSON handling for AvImsGbaEapAka to handle AdditionalProperties

func (*AvImsGbaEapAka) Set

func (a *AvImsGbaEapAka) Set(fieldName string, value interface{})

Setter for additional properties for AvImsGbaEapAka

func (*AvImsGbaEapAka) UnmarshalJSON

func (a *AvImsGbaEapAka) UnmarshalJSON(b []byte) error

Override default JSON handling for AvImsGbaEapAka to handle AdditionalProperties

type AvType

type AvType string

AvType defines model for AvType.

const (
	AvTypeEAPAKAPRIME AvType = "EAP_AKA_PRIME"
	AvTypeN5GHEAKA    AvType = "5G_HE_AKA"
)

Defines values for AvType.

type CkPrime

type CkPrime = string

CkPrime defines model for CkPrime.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) ConfirmAuth

func (c *Client) ConfirmAuth(ctx context.Context, supi externalRef0.Supi, body ConfirmAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ConfirmAuthWithBody

func (c *Client) ConfirmAuthWithBody(ctx context.Context, supi externalRef0.Supi, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAuth

func (c *Client) DeleteAuth(ctx context.Context, supi externalRef0.Supi, authEventId string, body DeleteAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAuthWithBody

func (c *Client) DeleteAuthWithBody(ctx context.Context, supi externalRef0.Supi, authEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateAuthData

func (c *Client) GenerateAuthData(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, body GenerateAuthDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateAuthDataWithBody

func (c *Client) GenerateAuthDataWithBody(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateAv

func (c *Client) GenerateAv(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, body GenerateAvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateAvWithBody

func (c *Client) GenerateAvWithBody(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRgAuthData

func (c *Client) GetRgAuthData(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, params *GetRgAuthDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetRgAuthData request
	GetRgAuthData(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, params *GetRgAuthDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenerateAuthDataWithBody request with any body
	GenerateAuthDataWithBody(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GenerateAuthData(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, body GenerateAuthDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConfirmAuthWithBody request with any body
	ConfirmAuthWithBody(ctx context.Context, supi externalRef0.Supi, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ConfirmAuth(ctx context.Context, supi externalRef0.Supi, body ConfirmAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAuthWithBody request with any body
	DeleteAuthWithBody(ctx context.Context, supi externalRef0.Supi, authEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteAuth(ctx context.Context, supi externalRef0.Supi, authEventId string, body DeleteAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenerateAvWithBody request with any body
	GenerateAvWithBody(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GenerateAv(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, body GenerateAvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ConfirmAuthWithBodyWithResponse

func (c *ClientWithResponses) ConfirmAuthWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmAuthResponse, error)

ConfirmAuthWithBodyWithResponse request with arbitrary body returning *ConfirmAuthResponse

func (*ClientWithResponses) ConfirmAuthWithResponse

func (c *ClientWithResponses) ConfirmAuthWithResponse(ctx context.Context, supi externalRef0.Supi, body ConfirmAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmAuthResponse, error)

func (*ClientWithResponses) DeleteAuthWithBodyWithResponse

func (c *ClientWithResponses) DeleteAuthWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, authEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAuthResponse, error)

DeleteAuthWithBodyWithResponse request with arbitrary body returning *DeleteAuthResponse

func (*ClientWithResponses) DeleteAuthWithResponse

func (c *ClientWithResponses) DeleteAuthWithResponse(ctx context.Context, supi externalRef0.Supi, authEventId string, body DeleteAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAuthResponse, error)

func (*ClientWithResponses) GenerateAuthDataWithBodyWithResponse

func (c *ClientWithResponses) GenerateAuthDataWithBodyWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateAuthDataResponse, error)

GenerateAuthDataWithBodyWithResponse request with arbitrary body returning *GenerateAuthDataResponse

func (*ClientWithResponses) GenerateAuthDataWithResponse

func (c *ClientWithResponses) GenerateAuthDataWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, body GenerateAuthDataJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateAuthDataResponse, error)

func (*ClientWithResponses) GenerateAvWithBodyWithResponse

func (c *ClientWithResponses) GenerateAvWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateAvResponse, error)

GenerateAvWithBodyWithResponse request with arbitrary body returning *GenerateAvResponse

func (*ClientWithResponses) GenerateAvWithResponse

func (c *ClientWithResponses) GenerateAvWithResponse(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, body GenerateAvJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateAvResponse, error)

func (*ClientWithResponses) GetRgAuthDataWithResponse

func (c *ClientWithResponses) GetRgAuthDataWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, params *GetRgAuthDataParams, reqEditors ...RequestEditorFn) (*GetRgAuthDataResponse, error)

GetRgAuthDataWithResponse request returning *GetRgAuthDataResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetRgAuthDataWithResponse request
	GetRgAuthDataWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, params *GetRgAuthDataParams, reqEditors ...RequestEditorFn) (*GetRgAuthDataResponse, error)

	// GenerateAuthDataWithBodyWithResponse request with any body
	GenerateAuthDataWithBodyWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateAuthDataResponse, error)

	GenerateAuthDataWithResponse(ctx context.Context, supiOrSuci externalRef0.SupiOrSuci, body GenerateAuthDataJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateAuthDataResponse, error)

	// ConfirmAuthWithBodyWithResponse request with any body
	ConfirmAuthWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmAuthResponse, error)

	ConfirmAuthWithResponse(ctx context.Context, supi externalRef0.Supi, body ConfirmAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmAuthResponse, error)

	// DeleteAuthWithBodyWithResponse request with any body
	DeleteAuthWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, authEventId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAuthResponse, error)

	DeleteAuthWithResponse(ctx context.Context, supi externalRef0.Supi, authEventId string, body DeleteAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAuthResponse, error)

	// GenerateAvWithBodyWithResponse request with any body
	GenerateAvWithBodyWithResponse(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateAvResponse, error)

	GenerateAvWithResponse(ctx context.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri, body GenerateAvJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateAvResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConfidentialityKey

type ConfidentialityKey = string

ConfidentialityKey defines model for ConfidentialityKey.

type ConfirmAuth201JSONResponse

type ConfirmAuth201JSONResponse struct {
	Body    AuthEvent
	Headers ConfirmAuth201ResponseHeaders
}

func (ConfirmAuth201JSONResponse) VisitConfirmAuthResponse

func (response ConfirmAuth201JSONResponse) VisitConfirmAuthResponse(w http.ResponseWriter) error

type ConfirmAuth201ResponseHeaders

type ConfirmAuth201ResponseHeaders struct {
	Location string
}

type ConfirmAuth400ApplicationProblemPlusJSONResponse

type ConfirmAuth400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (ConfirmAuth400ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse

func (response ConfirmAuth400ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse(w http.ResponseWriter) error

type ConfirmAuth404ApplicationProblemPlusJSONResponse

type ConfirmAuth404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (ConfirmAuth404ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse

func (response ConfirmAuth404ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse(w http.ResponseWriter) error

type ConfirmAuth500ApplicationProblemPlusJSONResponse

type ConfirmAuth500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (ConfirmAuth500ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse

func (response ConfirmAuth500ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse(w http.ResponseWriter) error

type ConfirmAuth503ApplicationProblemPlusJSONResponse

type ConfirmAuth503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (ConfirmAuth503ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse

func (response ConfirmAuth503ApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse(w http.ResponseWriter) error

type ConfirmAuthJSONRequestBody

type ConfirmAuthJSONRequestBody = AuthEvent

ConfirmAuthJSONRequestBody defines body for ConfirmAuth for application/json ContentType.

type ConfirmAuthRequestObject

type ConfirmAuthRequestObject struct {
	Supi externalRef0.Supi `json:"supi"`
	Body *ConfirmAuthJSONRequestBody
}

type ConfirmAuthResponse

type ConfirmAuthResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON201                       *AuthEvent
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseConfirmAuthResponse

func ParseConfirmAuthResponse(rsp *http.Response) (*ConfirmAuthResponse, error)

ParseConfirmAuthResponse parses an HTTP response from a ConfirmAuthWithResponse call

func (ConfirmAuthResponse) Status

func (r ConfirmAuthResponse) Status() string

Status returns HTTPResponse.Status

func (ConfirmAuthResponse) StatusCode

func (r ConfirmAuthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmAuthResponseObject

type ConfirmAuthResponseObject interface {
	VisitConfirmAuthResponse(w http.ResponseWriter) error
}

type ConfirmAuthdefaultApplicationProblemPlusJSONResponse

type ConfirmAuthdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (ConfirmAuthdefaultApplicationProblemPlusJSONResponse) VisitConfirmAuthResponse

type DeleteAuth204Response

type DeleteAuth204Response struct {
}

func (DeleteAuth204Response) VisitDeleteAuthResponse

func (response DeleteAuth204Response) VisitDeleteAuthResponse(w http.ResponseWriter) error

type DeleteAuth400ApplicationProblemPlusJSONResponse

type DeleteAuth400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (DeleteAuth400ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse

func (response DeleteAuth400ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse(w http.ResponseWriter) error

type DeleteAuth404ApplicationProblemPlusJSONResponse

type DeleteAuth404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (DeleteAuth404ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse

func (response DeleteAuth404ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse(w http.ResponseWriter) error

type DeleteAuth500ApplicationProblemPlusJSONResponse

type DeleteAuth500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (DeleteAuth500ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse

func (response DeleteAuth500ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse(w http.ResponseWriter) error

type DeleteAuth503ApplicationProblemPlusJSONResponse

type DeleteAuth503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (DeleteAuth503ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse

func (response DeleteAuth503ApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse(w http.ResponseWriter) error

type DeleteAuthJSONRequestBody

type DeleteAuthJSONRequestBody = AuthEvent

DeleteAuthJSONRequestBody defines body for DeleteAuth for application/json ContentType.

type DeleteAuthRequestObject

type DeleteAuthRequestObject struct {
	Supi        externalRef0.Supi `json:"supi"`
	AuthEventId string            `json:"authEventId"`
	Body        *DeleteAuthJSONRequestBody
}

type DeleteAuthResponse

type DeleteAuthResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.Default
}

func ParseDeleteAuthResponse

func ParseDeleteAuthResponse(rsp *http.Response) (*DeleteAuthResponse, error)

ParseDeleteAuthResponse parses an HTTP response from a DeleteAuthWithResponse call

func (DeleteAuthResponse) Status

func (r DeleteAuthResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAuthResponse) StatusCode

func (r DeleteAuthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAuthResponseObject

type DeleteAuthResponseObject interface {
	VisitDeleteAuthResponse(w http.ResponseWriter) error
}

type DeleteAuthdefaultApplicationProblemPlusJSONResponse

type DeleteAuthdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (DeleteAuthdefaultApplicationProblemPlusJSONResponse) VisitDeleteAuthResponse

type GenerateAuthData200JSONResponse

type GenerateAuthData200JSONResponse AuthenticationInfoResult

func (GenerateAuthData200JSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData200JSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData400ApplicationProblemPlusJSONResponse

type GenerateAuthData400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData400ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData400ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData403ApplicationProblemPlusJSONResponse

type GenerateAuthData403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData403ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData403ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData404ApplicationProblemPlusJSONResponse

type GenerateAuthData404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData404ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData404ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData500ApplicationProblemPlusJSONResponse

type GenerateAuthData500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData500ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData500ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData501ApplicationProblemPlusJSONResponse

type GenerateAuthData501ApplicationProblemPlusJSONResponse struct {
	externalRef0.N501ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData501ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData501ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthData503ApplicationProblemPlusJSONResponse

type GenerateAuthData503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (GenerateAuthData503ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthData503ApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAuthDataJSONRequestBody

type GenerateAuthDataJSONRequestBody = AuthenticationInfoRequest

GenerateAuthDataJSONRequestBody defines body for GenerateAuthData for application/json ContentType.

type GenerateAuthDataRequestObject

type GenerateAuthDataRequestObject struct {
	SupiOrSuci externalRef0.SupiOrSuci `json:"supiOrSuci"`
	Body       *GenerateAuthDataJSONRequestBody
}

type GenerateAuthDataResponse

type GenerateAuthDataResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *AuthenticationInfoResult
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON501     *externalRef0.N501
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseGenerateAuthDataResponse

func ParseGenerateAuthDataResponse(rsp *http.Response) (*GenerateAuthDataResponse, error)

ParseGenerateAuthDataResponse parses an HTTP response from a GenerateAuthDataWithResponse call

func (GenerateAuthDataResponse) Status

func (r GenerateAuthDataResponse) Status() string

Status returns HTTPResponse.Status

func (GenerateAuthDataResponse) StatusCode

func (r GenerateAuthDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenerateAuthDataResponseObject

type GenerateAuthDataResponseObject interface {
	VisitGenerateAuthDataResponse(w http.ResponseWriter) error
}

type GenerateAuthDatadefaultApplicationProblemPlusJSONResponse

type GenerateAuthDatadefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GenerateAuthDatadefaultApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse

func (response GenerateAuthDatadefaultApplicationProblemPlusJSONResponse) VisitGenerateAuthDataResponse(w http.ResponseWriter) error

type GenerateAv200JSONResponse

type GenerateAv200JSONResponse HssAuthenticationInfoResult

func (GenerateAv200JSONResponse) VisitGenerateAvResponse

func (response GenerateAv200JSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv400ApplicationProblemPlusJSONResponse

type GenerateAv400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (GenerateAv400ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv400ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv403ApplicationProblemPlusJSONResponse

type GenerateAv403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (GenerateAv403ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv403ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv404ApplicationProblemPlusJSONResponse

type GenerateAv404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (GenerateAv404ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv404ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv500ApplicationProblemPlusJSONResponse

type GenerateAv500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (GenerateAv500ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv500ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv501ApplicationProblemPlusJSONResponse

type GenerateAv501ApplicationProblemPlusJSONResponse struct {
	externalRef0.N501ApplicationProblemPlusJSONResponse
}

func (GenerateAv501ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv501ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAv503ApplicationProblemPlusJSONResponse

type GenerateAv503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (GenerateAv503ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

func (response GenerateAv503ApplicationProblemPlusJSONResponse) VisitGenerateAvResponse(w http.ResponseWriter) error

type GenerateAvJSONRequestBody

type GenerateAvJSONRequestBody = HssAuthenticationInfoRequest

GenerateAvJSONRequestBody defines body for GenerateAv for application/json ContentType.

type GenerateAvRequestObject

type GenerateAvRequestObject struct {
	Supi        externalRef0.Supi `json:"supi"`
	HssAuthType HssAuthTypeInUri  `json:"hssAuthType"`
	Body        *GenerateAvJSONRequestBody
}

type GenerateAvResponse

type GenerateAvResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *HssAuthenticationInfoResult
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON501     *externalRef0.N501
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseGenerateAvResponse

func ParseGenerateAvResponse(rsp *http.Response) (*GenerateAvResponse, error)

ParseGenerateAvResponse parses an HTTP response from a GenerateAvWithResponse call

func (GenerateAvResponse) Status

func (r GenerateAvResponse) Status() string

Status returns HTTPResponse.Status

func (GenerateAvResponse) StatusCode

func (r GenerateAvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenerateAvResponseObject

type GenerateAvResponseObject interface {
	VisitGenerateAvResponse(w http.ResponseWriter) error
}

type GenerateAvdefaultApplicationProblemPlusJSONResponse

type GenerateAvdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GenerateAvdefaultApplicationProblemPlusJSONResponse) VisitGenerateAvResponse

type GetRgAuthData200JSONResponse

type GetRgAuthData200JSONResponse RgAuthCtx

func (GetRgAuthData200JSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData200JSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthData400ApplicationProblemPlusJSONResponse

type GetRgAuthData400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (GetRgAuthData400ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData400ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthData403ApplicationProblemPlusJSONResponse

type GetRgAuthData403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (GetRgAuthData403ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData403ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthData404ApplicationProblemPlusJSONResponse

type GetRgAuthData404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (GetRgAuthData404ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData404ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthData500ApplicationProblemPlusJSONResponse

type GetRgAuthData500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (GetRgAuthData500ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData500ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthData503ApplicationProblemPlusJSONResponse

type GetRgAuthData503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (GetRgAuthData503ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

func (response GetRgAuthData503ApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse(w http.ResponseWriter) error

type GetRgAuthDataParams

type GetRgAuthDataParams struct {
	// AuthenticatedInd Authenticated indication
	AuthenticatedInd AuthenticatedInd `form:"authenticated-ind" json:"authenticated-ind"`

	// SupportedFeatures Supported Features
	SupportedFeatures *externalRef0.SupportedFeatures `form:"supported-features,omitempty" json:"supported-features,omitempty"`

	// PlmnId serving PLMN ID
	PlmnId *externalRef0.PlmnId `form:"plmn-id,omitempty" json:"plmn-id,omitempty"`

	// IfNoneMatch Validator for conditional requests, as described in RFC 7232, 3.2
	IfNoneMatch *string `json:"If-None-Match,omitempty"`

	// IfModifiedSince Validator for conditional requests, as described in RFC 7232, 3.3
	IfModifiedSince *string `json:"If-Modified-Since,omitempty"`
}

GetRgAuthDataParams defines parameters for GetRgAuthData.

type GetRgAuthDataRequestObject

type GetRgAuthDataRequestObject struct {
	SupiOrSuci externalRef0.SupiOrSuci `json:"supiOrSuci"`
	Params     GetRgAuthDataParams
}

type GetRgAuthDataResponse

type GetRgAuthDataResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *RgAuthCtx
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseGetRgAuthDataResponse

func ParseGetRgAuthDataResponse(rsp *http.Response) (*GetRgAuthDataResponse, error)

ParseGetRgAuthDataResponse parses an HTTP response from a GetRgAuthDataWithResponse call

func (GetRgAuthDataResponse) Status

func (r GetRgAuthDataResponse) Status() string

Status returns HTTPResponse.Status

func (GetRgAuthDataResponse) StatusCode

func (r GetRgAuthDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRgAuthDataResponseObject

type GetRgAuthDataResponseObject interface {
	VisitGetRgAuthDataResponse(w http.ResponseWriter) error
}

type GetRgAuthDatadefaultApplicationProblemPlusJSONResponse

type GetRgAuthDatadefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GetRgAuthDatadefaultApplicationProblemPlusJSONResponse) VisitGetRgAuthDataResponse

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

type HssAuthType

type HssAuthType string

HssAuthType defines model for HssAuthType.

const (
	HssAuthTypeEAPAKA      HssAuthType = "EAP_AKA"
	HssAuthTypeEAPAKAPRIME HssAuthType = "EAP_AKA_PRIME"
	HssAuthTypeEPSAKA      HssAuthType = "EPS_AKA"
	HssAuthTypeGBAAKA      HssAuthType = "GBA_AKA"
	HssAuthTypeIMSAKA      HssAuthType = "IMS_AKA"
	HssAuthTypeUMTSAKA     HssAuthType = "UMTS_AKA"
)

Defines values for HssAuthType.

type HssAuthTypeInUri

type HssAuthTypeInUri string

HssAuthTypeInUri defines model for HssAuthTypeInUri.

const (
	EapAka      HssAuthTypeInUri = "eap-aka"
	EapAkaPrime HssAuthTypeInUri = "eap-aka-prime"
	EpsAka      HssAuthTypeInUri = "eps-aka"
	GbaAka      HssAuthTypeInUri = "gba-aka"
	ImsAka      HssAuthTypeInUri = "ims-aka"
)

Defines values for HssAuthTypeInUri.

type HssAuthenticationInfoRequest

type HssAuthenticationInfoRequest struct {
	AnId                  *AccessNetworkId                `json:"anId,omitempty"`
	HssAuthType           HssAuthType                     `json:"hssAuthType"`
	NumOfRequestedVectors NumOfRequestedVectors           `json:"numOfRequestedVectors"`
	RequestingNodeType    *NodeType                       `json:"requestingNodeType,omitempty"`
	ResynchronizationInfo *ResynchronizationInfo          `json:"resynchronizationInfo,omitempty"`
	ServingNetworkId      *externalRef0.PlmnId            `json:"servingNetworkId,omitempty"`
	SupportedFeatures     *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties  map[string]interface{}          `json:"-"`
}

HssAuthenticationInfoRequest defines model for HssAuthenticationInfoRequest.

func (HssAuthenticationInfoRequest) Get

func (a HssAuthenticationInfoRequest) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for HssAuthenticationInfoRequest. Returns the specified element and whether it was found

func (HssAuthenticationInfoRequest) MarshalJSON

func (a HssAuthenticationInfoRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for HssAuthenticationInfoRequest to handle AdditionalProperties

func (*HssAuthenticationInfoRequest) Set

func (a *HssAuthenticationInfoRequest) Set(fieldName string, value interface{})

Setter for additional properties for HssAuthenticationInfoRequest

func (*HssAuthenticationInfoRequest) UnmarshalJSON

func (a *HssAuthenticationInfoRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for HssAuthenticationInfoRequest to handle AdditionalProperties

type HssAuthenticationInfoResult

type HssAuthenticationInfoResult struct {
	HssAuthenticationVectors HssAuthenticationVectors        `json:"hssAuthenticationVectors"`
	SupportedFeatures        *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties     map[string]interface{}          `json:"-"`
}

HssAuthenticationInfoResult defines model for HssAuthenticationInfoResult.

func (HssAuthenticationInfoResult) Get

func (a HssAuthenticationInfoResult) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for HssAuthenticationInfoResult. Returns the specified element and whether it was found

func (HssAuthenticationInfoResult) MarshalJSON

func (a HssAuthenticationInfoResult) MarshalJSON() ([]byte, error)

Override default JSON handling for HssAuthenticationInfoResult to handle AdditionalProperties

func (*HssAuthenticationInfoResult) Set

func (a *HssAuthenticationInfoResult) Set(fieldName string, value interface{})

Setter for additional properties for HssAuthenticationInfoResult

func (*HssAuthenticationInfoResult) UnmarshalJSON

func (a *HssAuthenticationInfoResult) UnmarshalJSON(b []byte) error

Override default JSON handling for HssAuthenticationInfoResult to handle AdditionalProperties

type HssAuthenticationVectors

type HssAuthenticationVectors struct {
	// contains filtered or unexported fields
}

HssAuthenticationVectors defines model for HssAuthenticationVectors.

func (HssAuthenticationVectors) AsHssAuthenticationVectors0

func (t HssAuthenticationVectors) AsHssAuthenticationVectors0() (HssAuthenticationVectors0, error)

AsHssAuthenticationVectors0 returns the union data inside the HssAuthenticationVectors as a HssAuthenticationVectors0

func (HssAuthenticationVectors) AsHssAuthenticationVectors1

func (t HssAuthenticationVectors) AsHssAuthenticationVectors1() (HssAuthenticationVectors1, error)

AsHssAuthenticationVectors1 returns the union data inside the HssAuthenticationVectors as a HssAuthenticationVectors1

func (HssAuthenticationVectors) AsHssAuthenticationVectors2

func (t HssAuthenticationVectors) AsHssAuthenticationVectors2() (HssAuthenticationVectors2, error)

AsHssAuthenticationVectors2 returns the union data inside the HssAuthenticationVectors as a HssAuthenticationVectors2

func (*HssAuthenticationVectors) FromHssAuthenticationVectors0

func (t *HssAuthenticationVectors) FromHssAuthenticationVectors0(v HssAuthenticationVectors0) error

FromHssAuthenticationVectors0 overwrites any union data inside the HssAuthenticationVectors as the provided HssAuthenticationVectors0

func (*HssAuthenticationVectors) FromHssAuthenticationVectors1

func (t *HssAuthenticationVectors) FromHssAuthenticationVectors1(v HssAuthenticationVectors1) error

FromHssAuthenticationVectors1 overwrites any union data inside the HssAuthenticationVectors as the provided HssAuthenticationVectors1

func (*HssAuthenticationVectors) FromHssAuthenticationVectors2

func (t *HssAuthenticationVectors) FromHssAuthenticationVectors2(v HssAuthenticationVectors2) error

FromHssAuthenticationVectors2 overwrites any union data inside the HssAuthenticationVectors as the provided HssAuthenticationVectors2

func (HssAuthenticationVectors) MarshalJSON

func (t HssAuthenticationVectors) MarshalJSON() ([]byte, error)

func (*HssAuthenticationVectors) MergeHssAuthenticationVectors0

func (t *HssAuthenticationVectors) MergeHssAuthenticationVectors0(v HssAuthenticationVectors0) error

MergeHssAuthenticationVectors0 performs a merge with any union data inside the HssAuthenticationVectors, using the provided HssAuthenticationVectors0

func (*HssAuthenticationVectors) MergeHssAuthenticationVectors1

func (t *HssAuthenticationVectors) MergeHssAuthenticationVectors1(v HssAuthenticationVectors1) error

MergeHssAuthenticationVectors1 performs a merge with any union data inside the HssAuthenticationVectors, using the provided HssAuthenticationVectors1

func (*HssAuthenticationVectors) MergeHssAuthenticationVectors2

func (t *HssAuthenticationVectors) MergeHssAuthenticationVectors2(v HssAuthenticationVectors2) error

MergeHssAuthenticationVectors2 performs a merge with any union data inside the HssAuthenticationVectors, using the provided HssAuthenticationVectors2

func (*HssAuthenticationVectors) UnmarshalJSON

func (t *HssAuthenticationVectors) UnmarshalJSON(b []byte) error

type HssAuthenticationVectors0

type HssAuthenticationVectors0 = []AvEpsAka

HssAuthenticationVectors0 defines model for .

type HssAuthenticationVectors1

type HssAuthenticationVectors1 = []AvImsGbaEapAka

HssAuthenticationVectors1 defines model for .

type HssAuthenticationVectors2

type HssAuthenticationVectors2 = []AvEapAkaPrime

HssAuthenticationVectors2 defines model for .

type HssAvType

type HssAvType string

HssAvType defines model for HssAvType.

const (
	HssAvTypeEAPAKA  HssAvType = "EAP_AKA"
	HssAvTypeEPSAKA  HssAvType = "EPS_AKA"
	HssAvTypeGBAAKA  HssAvType = "GBA_AKA"
	HssAvTypeIMSAKA  HssAvType = "IMS_AKA"
	HssAvTypeUMTSAKA HssAvType = "UMTS_AKA"
)

Defines values for HssAvType.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IkPrime

type IkPrime = string

IkPrime defines model for IkPrime.

type IntegrityKey

type IntegrityKey = string

IntegrityKey defines model for IntegrityKey.

type Kasme

type Kasme = string

Kasme defines model for Kasme.

type Kausf

type Kausf = string

Kausf defines model for Kausf.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type NodeType

type NodeType string

NodeType defines model for NodeType.

const (
	AUSF          NodeType = "AUSF"
	BSF           NodeType = "BSF"
	GANAAASERVER  NodeType = "GAN_AAA_SERVER"
	MME           NodeType = "MME"
	SCSCF         NodeType = "S_CSCF"
	SGSN          NodeType = "SGSN"
	VLR           NodeType = "VLR"
	WLANAAASERVER NodeType = "WLAN_AAA_SERVER"
)

Defines values for NodeType.

type NumOfRequestedVectors

type NumOfRequestedVectors = int

NumOfRequestedVectors defines model for NumOfRequestedVectors.

type Rand

type Rand = string

Rand defines model for Rand.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResynchronizationInfo

type ResynchronizationInfo struct {
	Auts                 Auts                   `json:"auts"`
	Rand                 Rand                   `json:"rand"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ResynchronizationInfo defines model for ResynchronizationInfo.

func (ResynchronizationInfo) Get

func (a ResynchronizationInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ResynchronizationInfo. Returns the specified element and whether it was found

func (ResynchronizationInfo) MarshalJSON

func (a ResynchronizationInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for ResynchronizationInfo to handle AdditionalProperties

func (*ResynchronizationInfo) Set

func (a *ResynchronizationInfo) Set(fieldName string, value interface{})

Setter for additional properties for ResynchronizationInfo

func (*ResynchronizationInfo) UnmarshalJSON

func (a *ResynchronizationInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for ResynchronizationInfo to handle AdditionalProperties

type RgAuthCtx

type RgAuthCtx struct {
	AuthInd              bool                            `json:"authInd"`
	Supi                 externalRef0.Supi               `json:"supi,omitempty"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

RgAuthCtx defines model for RgAuthCtx.

func (RgAuthCtx) Get

func (a RgAuthCtx) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RgAuthCtx. Returns the specified element and whether it was found

func (RgAuthCtx) MarshalJSON

func (a RgAuthCtx) MarshalJSON() ([]byte, error)

Override default JSON handling for RgAuthCtx to handle AdditionalProperties

func (*RgAuthCtx) Set

func (a *RgAuthCtx) Set(fieldName string, value interface{})

Setter for additional properties for RgAuthCtx

func (*RgAuthCtx) UnmarshalJSON

func (a *RgAuthCtx) UnmarshalJSON(b []byte) error

Override default JSON handling for RgAuthCtx to handle AdditionalProperties

type ServerInterface

type ServerInterface interface {
	// Get authentication data for the FN-RG
	// (GET /{supiOrSuci}/security-information-rg)
	GetRgAuthData(c *gin.Context, supiOrSuci externalRef0.SupiOrSuci, params GetRgAuthDataParams)
	// Generate authentication data for the UE
	// (POST /{supiOrSuci}/security-information/generate-auth-data)
	GenerateAuthData(c *gin.Context, supiOrSuci externalRef0.SupiOrSuci)
	// Create a new confirmation event
	// (POST /{supi}/auth-events)
	ConfirmAuth(c *gin.Context, supi externalRef0.Supi)
	// Deletes the authentication result in the UDM
	// (PUT /{supi}/auth-events/{authEventId})
	DeleteAuth(c *gin.Context, supi externalRef0.Supi, authEventId string)
	// Generate authentication data for the UE in EPS or IMS domain
	// (POST /{supi}/hss-security-information/{hssAuthType}/generate-av)
	GenerateAv(c *gin.Context, supi externalRef0.Supi, hssAuthType HssAuthTypeInUri)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) ConfirmAuth

func (siw *ServerInterfaceWrapper) ConfirmAuth(c *gin.Context)

ConfirmAuth operation middleware

func (*ServerInterfaceWrapper) DeleteAuth

func (siw *ServerInterfaceWrapper) DeleteAuth(c *gin.Context)

DeleteAuth operation middleware

func (*ServerInterfaceWrapper) GenerateAuthData

func (siw *ServerInterfaceWrapper) GenerateAuthData(c *gin.Context)

GenerateAuthData operation middleware

func (*ServerInterfaceWrapper) GenerateAv

func (siw *ServerInterfaceWrapper) GenerateAv(c *gin.Context)

GenerateAv operation middleware

func (*ServerInterfaceWrapper) GetRgAuthData

func (siw *ServerInterfaceWrapper) GetRgAuthData(c *gin.Context)

GetRgAuthData operation middleware

type ServingNetworkName

type ServingNetworkName = string

ServingNetworkName defines model for ServingNetworkName.

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Get authentication data for the FN-RG
	// (GET /{supiOrSuci}/security-information-rg)
	GetRgAuthData(ctx context.Context, request GetRgAuthDataRequestObject) (GetRgAuthDataResponseObject, error)
	// Generate authentication data for the UE
	// (POST /{supiOrSuci}/security-information/generate-auth-data)
	GenerateAuthData(ctx context.Context, request GenerateAuthDataRequestObject) (GenerateAuthDataResponseObject, error)
	// Create a new confirmation event
	// (POST /{supi}/auth-events)
	ConfirmAuth(ctx context.Context, request ConfirmAuthRequestObject) (ConfirmAuthResponseObject, error)
	// Deletes the authentication result in the UDM
	// (PUT /{supi}/auth-events/{authEventId})
	DeleteAuth(ctx context.Context, request DeleteAuthRequestObject) (DeleteAuthResponseObject, error)
	// Generate authentication data for the UE in EPS or IMS domain
	// (POST /{supi}/hss-security-information/{hssAuthType}/generate-av)
	GenerateAv(ctx context.Context, request GenerateAvRequestObject) (GenerateAvResponseObject, error)
}

StrictServerInterface represents all server handlers.

type Success

type Success = bool

Success defines model for Success.

type Xres

type Xres = string

Xres defines model for Xres.

type XresStar

type XresStar = string

XresStar defines model for XresStar.

Jump to

Keyboard shortcuts

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