Documentation
¶
Index ¶
- Constants
- type AuthProcedureInfo
- type ConfirmationResourceURI
- type HandlerResponse
- type Processor
- func (p *Processor) GetAuthSubsData(ueId string) *HandlerResponse
- func (p *Processor) PostGenerateAuthData(supiOrSuci string, authInfo models.AuthenticationInfoRequest) *HandlerResponse
- func (p *Processor) PostUeAutentications(authInfo models.AuthenticationInfo) *HandlerResponse
- func (p *Processor) PutUeAutenticationsConfirmation(authCtxId string, confirmationData models.ConfirmationData) *HandlerResponse
Constants ¶
View Source
const ( ERR_MANDATORY_ABSENT = "Mandatory type is absent" ERR_MISS_CONDITION = "Miss condition" ERR_VALUE_INCORRECT = "Unexpected value is received" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthProcedureInfo ¶
type AuthProcedureInfo struct { }
var (
UeAuthProcedure AuthProcedureInfo
)
Define every thing you want in this struct, so that you can use them in different message handler
type ConfirmationResourceURI ¶
type ConfirmationResourceURI string
const ( ConfirmationResourceURI_5_G_AKA ConfirmationResourceURI = "/5g-aka-confirmation" ConfirmationResourceURI_EAP_SESSION ConfirmationResourceURI = "/eap-session" )
type HandlerResponse ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func (*Processor) GetAuthSubsData ¶
func (p *Processor) GetAuthSubsData( ueId string, ) *HandlerResponse
NOTE: The response from UDR is guaranteed to be correct
func (*Processor) PostGenerateAuthData ¶
func (p *Processor) PostGenerateAuthData( supiOrSuci string, authInfo models.AuthenticationInfoRequest, ) *HandlerResponse
NOTE: Assume Rand from UDM and ausfInstanceId from AUSF is correct
func (*Processor) PostUeAutentications ¶
func (p *Processor) PostUeAutentications( authInfo models.AuthenticationInfo, ) *HandlerResponse
NOTE: The response from AMF is guaranteed to be correct
func (*Processor) PutUeAutenticationsConfirmation ¶
func (p *Processor) PutUeAutenticationsConfirmation( authCtxId string, confirmationData models.ConfirmationData, ) *HandlerResponse
Click to show internal directories.
Click to hide internal directories.