File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,21 @@ impl BasicClient {
180
180
self . auth_data = auth_data;
181
181
}
182
182
183
+ /// Retrieve authentication data of the client.
184
+ pub fn auth_data ( & self ) -> AuthenticationData {
185
+ self . auth_data . clone ( )
186
+ }
187
+
183
188
/// Set the provider that the client will be implicitly working with.
184
189
pub fn set_implicit_provider ( & mut self , provider : ProviderID ) {
185
190
self . implicit_provider = provider;
186
191
}
187
192
193
+ /// Retrieve client's implicit provider.
194
+ pub fn implicit_provider ( & self ) -> ProviderID {
195
+ self . implicit_provider
196
+ }
197
+
188
198
/// **[Core Operation]** List the opcodes supported by the specified provider.
189
199
pub fn list_provider_operations ( & self , provider : ProviderID ) -> Result < HashSet < Opcode > > {
190
200
let res = self . op_client . process_operation (
You can’t perform that action at this time.
0 commit comments