X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Finternal%2Fsecurityapi%2Fsecurityapi-types.gen.go;h=78bced71c55beba0fd1bf0b8ed1f1e968f1156c4;hb=a98d361fe90ebac93c13a599529c4b743e11ace2;hp=bf8723a59bdd9a08d7179df967ce5af4d9246977;hpb=c2422dba52b7c2fe640ff957137ccf64d2c96753;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/internal/securityapi/securityapi-types.gen.go b/capifcore/internal/securityapi/securityapi-types.gen.go index bf8723a..78bced7 100644 --- a/capifcore/internal/securityapi/securityapi-types.gen.go +++ b/capifcore/internal/securityapi/securityapi-types.gen.go @@ -6,6 +6,7 @@ package securityapi import ( externalRef0 "oransc.org/nonrtric/capifcore/internal/common29122" externalRef1 "oransc.org/nonrtric/capifcore/internal/common29571" + externalRef2 "oransc.org/nonrtric/capifcore/internal/publishserviceapi" ) // Defines values for AccessTokenErrError. @@ -81,7 +82,31 @@ type AccessTokenRspTokenType string type Cause string // Represents the interface details and the security method. -type SecurityInformation interface{} +type SecurityInformation struct { + // Identifier of the API exposing function + AefId *string `json:"aefId,omitempty"` + + // API identifier + ApiId *string `json:"apiId,omitempty"` + + // Authentication related information + AuthenticationInfo *string `json:"authenticationInfo,omitempty"` + + // Authorization related information + AuthorizationInfo *string `json:"authorizationInfo,omitempty"` + + // Represents the description of an API's interface. + InterfaceDetails *externalRef2.InterfaceDescription `json:"interfaceDetails,omitempty"` + + // Security methods preferred by the API invoker for the API interface. + PrefSecurityMethods []externalRef2.SecurityMethod `json:"prefSecurityMethods"` + + // Possible values are: + // - PSK: Security method 1 (Using TLS-PSK) as described in 3GPP TS 33.122 + // - PKI: Security method 2 (Using PKI) as described in 3GPP TS 33.122 + // - OAUTH: Security method 3 (TLS with OAuth token) as described in 3GPP TS 33.122 + SelSecurityMethod *externalRef2.SecurityMethod `json:"selSecurityMethod,omitempty"` +} // Represents revoked authorization notification details. type SecurityNotification struct {