@@ -10,27 +10,27 @@ public partial class KeycloakClientShould
10
10
[ InlineData ( "Insurance" ) ]
11
11
public async Task GetAuthenticatorProvidersAsync ( string realm )
12
12
{
13
- var result = await _client . GetAuthenticatorProvidersAsync ( realm ) ;
13
+ var result = await _client . GetAuthenticatorProvidersAsync ( realm ) . ConfigureAwait ( false ) ;
14
14
Assert . NotNull ( result ) ;
15
15
}
16
16
17
17
[ Theory ]
18
18
[ InlineData ( "Insurance" ) ]
19
19
public async Task GetClientAuthenticatorProvidersAsync ( string realm )
20
20
{
21
- var result = await _client . GetClientAuthenticatorProvidersAsync ( realm ) ;
21
+ var result = await _client . GetClientAuthenticatorProvidersAsync ( realm ) . ConfigureAwait ( false ) ;
22
22
Assert . NotNull ( result ) ;
23
23
}
24
24
25
25
[ Theory ]
26
26
[ InlineData ( "Insurance" ) ]
27
27
public async Task GetAuthenticatorProviderConfigurationDescriptionAsync ( string realm )
28
28
{
29
- var providers = await _client . GetAuthenticatorProvidersAsync ( realm ) ;
29
+ var providers = await _client . GetAuthenticatorProvidersAsync ( realm ) . ConfigureAwait ( false ) ;
30
30
string providerId = providers . FirstOrDefault ( ) ? . FirstOrDefault ( x => x . Key == "id" ) . Value . ToString ( ) ;
31
31
if ( providerId != null )
32
32
{
33
- var result = await _client . GetAuthenticatorProviderConfigurationDescriptionAsync ( realm , providerId ) ;
33
+ var result = await _client . GetAuthenticatorProviderConfigurationDescriptionAsync ( realm , providerId ) . ConfigureAwait ( false ) ;
34
34
Assert . NotNull ( result ) ;
35
35
}
36
36
}
@@ -42,7 +42,7 @@ public async Task GetAuthenticatorConfigurationAsync(string realm)
42
42
string configurationId = "" ; //TODO
43
43
if ( configurationId != null )
44
44
{
45
- var result = await _client . GetAuthenticatorConfigurationAsync ( realm , configurationId ) ;
45
+ var result = await _client . GetAuthenticatorConfigurationAsync ( realm , configurationId ) . ConfigureAwait ( false ) ;
46
46
Assert . NotNull ( result ) ;
47
47
}
48
48
}
@@ -51,15 +51,15 @@ public async Task GetAuthenticatorConfigurationAsync(string realm)
51
51
[ InlineData ( "Insurance" ) ]
52
52
public async Task GetAuthenticationExecutionAsync ( string realm )
53
53
{
54
- var flows = await _client . GetAuthenticationFlowsAsync ( realm ) ;
54
+ var flows = await _client . GetAuthenticationFlowsAsync ( realm ) . ConfigureAwait ( false ) ;
55
55
string flowAlias = flows . FirstOrDefault ( ) ? . Alias ;
56
56
if ( flowAlias != null )
57
57
{
58
- var executions = await _client . GetAuthenticationFlowExecutionsAsync ( realm , flowAlias ) ;
58
+ var executions = await _client . GetAuthenticationFlowExecutionsAsync ( realm , flowAlias ) . ConfigureAwait ( false ) ;
59
59
string executionId = executions . FirstOrDefault ( ) ? . Id ;
60
60
if ( executionId != null )
61
61
{
62
- var result = await _client . GetAuthenticationExecutionAsync ( realm , executionId ) ;
62
+ var result = await _client . GetAuthenticationExecutionAsync ( realm , executionId ) . ConfigureAwait ( false ) ;
63
63
Assert . NotNull ( result ) ;
64
64
}
65
65
}
@@ -69,19 +69,19 @@ public async Task GetAuthenticationExecutionAsync(string realm)
69
69
[ InlineData ( "Insurance" ) ]
70
70
public async Task GetAuthenticationFlowsAsync ( string realm )
71
71
{
72
- var result = await _client . GetAuthenticationFlowsAsync ( realm ) ;
72
+ var result = await _client . GetAuthenticationFlowsAsync ( realm ) . ConfigureAwait ( false ) ;
73
73
Assert . NotNull ( result ) ;
74
74
}
75
75
76
76
[ Theory ]
77
77
[ InlineData ( "Insurance" ) ]
78
78
public async Task GetAuthenticationFlowExecutionsAsync ( string realm )
79
79
{
80
- var flows = await _client . GetAuthenticationFlowsAsync ( realm ) ;
80
+ var flows = await _client . GetAuthenticationFlowsAsync ( realm ) . ConfigureAwait ( false ) ;
81
81
string flowAlias = flows . FirstOrDefault ( ) ? . Alias ;
82
82
if ( flowAlias != null )
83
83
{
84
- var result = await _client . GetAuthenticationFlowExecutionsAsync ( realm , flowAlias ) ;
84
+ var result = await _client . GetAuthenticationFlowExecutionsAsync ( realm , flowAlias ) . ConfigureAwait ( false ) ;
85
85
Assert . NotNull ( result ) ;
86
86
}
87
87
}
@@ -90,11 +90,11 @@ public async Task GetAuthenticationFlowExecutionsAsync(string realm)
90
90
[ InlineData ( "Insurance" ) ]
91
91
public async Task GetAuthenticationFlowByIdAsync ( string realm )
92
92
{
93
- var flows = await _client . GetAuthenticationFlowsAsync ( realm ) ;
93
+ var flows = await _client . GetAuthenticationFlowsAsync ( realm ) . ConfigureAwait ( false ) ;
94
94
string flowId = flows . FirstOrDefault ( ) ? . Id ;
95
95
if ( flowId != null )
96
96
{
97
- var result = await _client . GetAuthenticationFlowByIdAsync ( realm , flowId ) ;
97
+ var result = await _client . GetAuthenticationFlowByIdAsync ( realm , flowId ) . ConfigureAwait ( false ) ;
98
98
Assert . NotNull ( result ) ;
99
99
}
100
100
}
@@ -103,43 +103,43 @@ public async Task GetAuthenticationFlowByIdAsync(string realm)
103
103
[ InlineData ( "Insurance" ) ]
104
104
public async Task GetFormActionProvidersAsync ( string realm )
105
105
{
106
- var result = await _client . GetFormActionProvidersAsync ( realm ) ;
106
+ var result = await _client . GetFormActionProvidersAsync ( realm ) . ConfigureAwait ( false ) ;
107
107
Assert . NotNull ( result ) ;
108
108
}
109
109
110
110
[ Theory ]
111
111
[ InlineData ( "Insurance" ) ]
112
112
public async Task GetFormProvidersAsync ( string realm )
113
113
{
114
- var result = await _client . GetFormProvidersAsync ( realm ) ;
114
+ var result = await _client . GetFormProvidersAsync ( realm ) . ConfigureAwait ( false ) ;
115
115
Assert . NotNull ( result ) ;
116
116
}
117
117
118
118
[ Theory ]
119
119
[ InlineData ( "Insurance" ) ]
120
120
public async Task GetConfigurationDescriptionsForAllClientsAsync ( string realm )
121
121
{
122
- var result = await _client . GetConfigurationDescriptionsForAllClientsAsync ( realm ) ;
122
+ var result = await _client . GetConfigurationDescriptionsForAllClientsAsync ( realm ) . ConfigureAwait ( false ) ;
123
123
Assert . NotNull ( result ) ;
124
124
}
125
125
126
126
[ Theory ]
127
127
[ InlineData ( "Insurance" ) ]
128
128
public async Task GetRequiredActionsAsync ( string realm )
129
129
{
130
- var result = await _client . GetRequiredActionsAsync ( realm ) ;
130
+ var result = await _client . GetRequiredActionsAsync ( realm ) . ConfigureAwait ( false ) ;
131
131
Assert . NotNull ( result ) ;
132
132
}
133
133
134
134
[ Theory ]
135
135
[ InlineData ( "Insurance" ) ]
136
136
public async Task GetRequiredActionByAliasAsync ( string realm )
137
137
{
138
- var requiredActions = await _client . GetRequiredActionsAsync ( realm ) ;
138
+ var requiredActions = await _client . GetRequiredActionsAsync ( realm ) . ConfigureAwait ( false ) ;
139
139
string requiredActionAlias = requiredActions . FirstOrDefault ( ) ? . Alias ;
140
140
if ( requiredActionAlias != null )
141
141
{
142
- var result = await _client . GetRequiredActionByAliasAsync ( realm , requiredActionAlias ) ;
142
+ var result = await _client . GetRequiredActionByAliasAsync ( realm , requiredActionAlias ) . ConfigureAwait ( false ) ;
143
143
Assert . NotNull ( result ) ;
144
144
}
145
145
}
@@ -148,7 +148,7 @@ public async Task GetRequiredActionByAliasAsync(string realm)
148
148
[ InlineData ( "Insurance" ) ]
149
149
public async Task GetUnregisteredRequiredActionsAsync ( string realm )
150
150
{
151
- var result = await _client . GetUnregisteredRequiredActionsAsync ( realm ) ;
151
+ var result = await _client . GetUnregisteredRequiredActionsAsync ( realm ) . ConfigureAwait ( false ) ;
152
152
Assert . NotNull ( result ) ;
153
153
}
154
154
}
0 commit comments