consumer

package
v0.0.0-...-0406403 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryRegisterNrfDuration = 2 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

func NewConsumer

func NewConsumer(scp scp) (*Consumer, error)

func (Consumer) DeregisterNFInstance

func (s Consumer) DeregisterNFInstance() error

func (Consumer) RegisterNFInstance

func (s Consumer) RegisterNFInstance() error

func (Consumer) SearchNFInstances

func (s Consumer) SearchNFInstances(
	nrfUri string,
	srvName models.ServiceName,
	param *Nnrf_NFDiscovery.SearchNFInstancesParamOpts,
) (*models.NfProfile, string, error)

func (Consumer) SendAuth5gAkaConfirmRequest

func (s Consumer) SendAuth5gAkaConfirmRequest(uri string,
	authCtxId string, confirmationData *models.ConfirmationData) (*models.ConfirmationDataResponse, *models.ProblemDetails, error)

func (Consumer) SendAuthSubsDataGet

func (s Consumer) SendAuthSubsDataGet(uri string,
	supi string) (*models.AuthenticationSubscription, *models.ProblemDetails, error)

func (Consumer) SendGenerateAuthDataRequest

func (s Consumer) SendGenerateAuthDataRequest(uri string,
	supiOrSuci string, authInfoReq *models.AuthenticationInfoRequest) (*models.AuthenticationInfoResult, *models.ProblemDetails, error)

func (Consumer) SendUeAuthPostRequest

func (s Consumer) SendUeAuthPostRequest(uri string,
	authInfo *models.AuthenticationInfo) (*models.UeAuthenticationCtx, *models.ProblemDetails, error)

Jump to

Keyboard shortcuts

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