Uses of Class
com.azure.ai.openai.models.UserSecurityContext
Packages that use UserSecurityContext
-
Uses of UserSecurityContext in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return UserSecurityContextModifier and TypeMethodDescriptionstatic UserSecurityContextUserSecurityContext.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UserSecurityContext from the JsonReader.ChatCompletionsOptions.getUserSecurityContext()Get the userSecurityContext property: The security context identifies and authenticates users and applications in your multi-tenant AI system, helping security teams investigate and mitigate incidents.UserSecurityContext.setApplicationName(String applicationName) Set the applicationName property: The name of the application.UserSecurityContext.setEndUserId(String endUserId) Set the endUserId property: This identifier is the Microsoft Entra ID (formerly Azure Active Directory) user object ID used to authenticate end-users within the generative AI application.UserSecurityContext.setEndUserTenantId(String endUserTenantId) Set the endUserTenantId property: The Microsoft 365 tenant ID the end user belongs to.UserSecurityContext.setSourceIp(String sourceIp) Set the sourceIp property: Captures the original client's IP address, accepting both IPv4 and IPv6 formats.Methods in com.azure.ai.openai.models with parameters of type UserSecurityContextModifier and TypeMethodDescriptionChatCompletionsOptions.setUserSecurityContext(UserSecurityContext userSecurityContext) Set the userSecurityContext property: The security context identifies and authenticates users and applications in your multi-tenant AI system, helping security teams investigate and mitigate incidents.