# Class WorkflowApiSecurityOptions OptimaJet.Workflow.Api.Options.WorkflowApiSecurityOptions Represents the settings for authentication and authorization of your Workflow Engine Web API. Namespace: [OptimaJet.Workflow.Api.Options](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Options/) ```csharp public record WorkflowApiSecurityOptions : IEquatable ``` ## Type Hierarchy - WorkflowApiSecurityOptions Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Properties `public bool DisableSecurity { get; set; }` Allows disabling authentication and authorization. By default, authentication and authorization are enabled when adding [Extensions.AddWorkflowApiSecurity(IServiceCollection, Action?)](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api/Extensions/). `public string? SecurityScheme { get; set; }` The authentication scheme used for Workflow Engine Web API endpoints. When `null`, the default authentication scheme set in [AuthenticationOptions](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.authentication.authenticationoptions) will be used. [Previous WorkflowApiCoreOptions](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Options/WorkflowApiCoreOptions/) [Next WorkflowProviderCreationOptions](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Options/WorkflowProviderCreationOptions/)