@@ -28,6 +28,14 @@ public partial interface IInvalidateApiKeyRequest
28
28
/// </summary>
29
29
[ DataMember ( Name = "username" ) ]
30
30
string Username { get ; set ; }
31
+
32
+ /// <summary>
33
+ /// A boolean flag that can be used to query API keys owned by the currently authenticated user. Defaults to false.
34
+ /// The RealmName or Username parameters cannot be specified when this parameter is set to true as they are
35
+ /// assumed to be the currently authenticated ones.
36
+ /// </summary>
37
+ [ DataMember ( Name = "owner" ) ]
38
+ bool ? Owner { get ; set ; }
31
39
}
32
40
33
41
public partial class InvalidateApiKeyRequest
@@ -43,6 +51,9 @@ public partial class InvalidateApiKeyRequest
43
51
44
52
/// <inheritdoc />
45
53
public string Username { get ; set ; }
54
+
55
+ /// <inheritdoc />
56
+ public bool ? Owner { get ; set ; }
46
57
}
47
58
48
59
public partial class InvalidateApiKeyDescriptor
@@ -59,6 +70,9 @@ public partial class InvalidateApiKeyDescriptor
59
70
/// <inheritdoc />
60
71
string IInvalidateApiKeyRequest . Username { get ; set ; }
61
72
73
+ /// <inheritdoc />
74
+ bool ? IInvalidateApiKeyRequest . Owner { get ; set ; }
75
+
62
76
/// <inheritdoc cref="IInvalidateApiKeyRequest.Id" />
63
77
public InvalidateApiKeyDescriptor Id ( string id ) => Assign ( id , ( a , v ) => a . Id = v ) ;
64
78
@@ -70,5 +84,8 @@ public partial class InvalidateApiKeyDescriptor
70
84
71
85
/// <inheritdoc cref="IInvalidateApiKeyRequest.Username" />
72
86
public InvalidateApiKeyDescriptor Username ( string username ) => Assign ( username , ( a , v ) => a . Username = v ) ;
87
+
88
+ /// <inheritdoc cref="IInvalidateApiKeyRequest.Owner" />
89
+ public InvalidateApiKeyDescriptor Owner ( bool ? owner = true ) => Assign ( owner , ( a , v ) => a . Owner = v ) ;
73
90
}
74
91
}
0 commit comments