-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/KafkaFlow.Abstractions/Configuration/SaslOauthbearerMethod.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace KafkaFlow.Configuration | ||
{ | ||
/// <summary>SaslOauthbearerMethod enum values</summary> | ||
public enum SaslOauthbearerMethod | ||
{ | ||
/// <summary>Default</summary> | ||
Default, | ||
|
||
/// <summary>Oidc</summary> | ||
Oidc, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,4 +209,44 @@ public class SecurityInformation | |
/// importance: low | ||
/// </summary> | ||
public bool? EnableSaslOauthbearerUnsecureJwt { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets the SaslOauthbearerMethod | ||
/// | ||
/// default: false | ||
/// importance: low | ||
/// </summary> | ||
public SaslOauthbearerMethod? SaslOauthbearerMethod { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the SaslOauthbearerClientId | ||
/// | ||
/// default: false | ||
/// importance: low | ||
/// </summary> | ||
public string SaslOauthbearerClientId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the SaslOauthbearerClientSecret | ||
/// | ||
/// default: false | ||
/// importance: low | ||
/// </summary> | ||
public string SaslOauthbearerClientSecret { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the SaslOauthbearerTokenEndpointUrl | ||
/// | ||
/// default: false | ||
/// importance: low | ||
/// </summary> | ||
public string SaslOauthbearerTokenEndpointUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the SaslOauthbearerScope | ||
/// | ||
/// default: false | ||
/// importance: low | ||
/// </summary> | ||
public string SaslOauthbearerScope { get; set; } | ||
} | ||
Check warning on line 252 in src/KafkaFlow.Abstractions/Configuration/SecurityInformation.cs GitHub Actions / Test deployment
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters