Documentation ¶
Index ¶
- Constants
- func AddAusfUeContextToPool(ausfUeContext *AusfUeContext)
- func AddNfServices(serviceMap *map[models.ServiceName]models.NfService, config *factory.Config, ...)
- func CheckIfAusfUeContextExists(ref string) bool
- func Init()
- func InitAusfContext(context *AUSFContext)
- func IsServingNetworkAuthorized(lookup string) bool
- func TestInit()
- type AUSFContext
- type AusfUeContext
Constants ¶
View Source
const ( AT_RAND_ATTRIBUTE = 1 AT_AUTN_ATTRIBUTE = 2 AT_RES_ATTRIBUTE = 3 AT_MAC_ATTRIBUTE = 11 AT_NOTIFICATION_ATTRIBUTE = 12 AT_IDENTITY_ATTRIBUTE = 14 AT_KDF_INPUT_ATTRIBUTE = 23 AT_KDF_ATTRIBUTE = 24 )
Attribute Types for EAP-AKA'
View Source
const (
EAP_AKA_PRIME_TYPENUM = 50
)
Variables ¶
This section is empty.
Functions ¶
func AddAusfUeContextToPool ¶
func AddAusfUeContextToPool(ausfUeContext *AusfUeContext)
func AddNfServices ¶
func AddNfServices(serviceMap *map[models.ServiceName]models.NfService, config *factory.Config, context *AUSFContext)
func InitAusfContext ¶
func InitAusfContext(context *AUSFContext)
Types ¶
type AUSFContext ¶
type AUSFContext struct { NfId string GroupId string HttpIpv4Port int HttpIPv4Address string Url string UriScheme models.UriScheme NrfUri string NfService map[models.ServiceName]models.NfService PlmnList []models.PlmnId UdmUeauUrl string }
func GetSelf ¶
func GetSelf() *AUSFContext
func (AUSFContext) GetSelfID ¶
func (a AUSFContext) GetSelfID() string
type AusfUeContext ¶
type AusfUeContext struct { Supi string Kausf string Kseaf string ServingNetworkName string AuthStatus models.AuthResult UdmUeauUrl string // for 5G AKA XresStar string // for EAP-AKA' K_aut string XRES string }
func GetAusfUeContext ¶
func GetAusfUeContext(ref string) (ausfUeContext *AusfUeContext)
func NewAusfUeContext ¶
func NewAusfUeContext(identifier string) (ausfUeContext *AusfUeContext)
Click to show internal directories.
Click to hide internal directories.