Skip to content

Commit

Permalink
fix(dbusservice): Use array of strings maps arguments types for GetAu…
Browse files Browse the repository at this point in the history
…thenticationModes (#227)

The method accepts a slice of maps and returns another slice of maps, so
we should respect that in the introspection data

UDENG-5321

Related to ubuntu/authd#628
  • Loading branch information
3v1n0 authored Nov 18, 2024
2 parents 0f9e0d7 + ff54677 commit 2358541
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/dbusservice/dbusservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ const intro = `
<node>
<interface name="%s">
<method name="NewSession">
<arg type="s" direction="in" name="username"/>
<arg type="s" direction="in" name="lang"/>
<arg type="s" direction="in" name="mode"/>
<arg type="s" direction="out" name="sessionID"/>
<arg type="s" direction="out" name="encryptionKey"/>
<arg type="s" direction="in" name="username"/>
<arg type="s" direction="in" name="lang"/>
<arg type="s" direction="in" name="mode"/>
<arg type="s" direction="out" name="sessionID"/>
<arg type="s" direction="out" name="encryptionKey"/>
</method>
<method name="GetAuthenticationModes">
<arg type="s" direction="in" name="sessionID"/>
<arg type="a{ss}" direction="in" name="supportedUILayouts"/>
<arg type="a{ss}" direction="out" name="authenticationModes"/>
<arg type="s" direction="in" name="sessionID"/>
<arg type="aa{ss}" direction="in" name="supportedUILayouts"/>
<arg type="aa{ss}" direction="out" name="authenticationModes"/>
</method>
<method name="SelectAuthenticationMode">
<arg type="s" direction="in" name="sessionID"/>
Expand Down

0 comments on commit 2358541

Please sign in to comment.