Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
irmago
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
IRMA
Github mirrors
irmago
Commits
b3f694e5
Unverified
Commit
b3f694e5
authored
Nov 07, 2019
by
Tomas
Committed by
GitHub
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: Remove androidStoragePath from irmaclient.New (#69)
parent
39dff3e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
irmaclient/client.go
irmaclient/client.go
+0
-5
No files found.
irmaclient/client.go
View file @
b3f694e5
...
@@ -53,7 +53,6 @@ type Client struct {
...
@@ -53,7 +53,6 @@ type Client struct {
Preferences
Preferences
Preferences
Preferences
Configuration
*
irma
.
Configuration
Configuration
*
irma
.
Configuration
irmaConfigurationPath
string
irmaConfigurationPath
string
androidStoragePath
string
handler
ClientHandler
handler
ClientHandler
}
}
...
@@ -108,8 +107,6 @@ type secretKey struct {
...
@@ -108,8 +107,6 @@ type secretKey struct {
// New creates a new Client that uses the directory
// New creates a new Client that uses the directory
// specified by storagePath for (de)serializing itself. irmaConfigurationPath
// specified by storagePath for (de)serializing itself. irmaConfigurationPath
// is the path to a (possibly readonly) folder containing irma_configuration;
// is the path to a (possibly readonly) folder containing irma_configuration;
// androidStoragePath is an optional path to the files of the old android app
// (specify "" if you do not want to parse the old android app files),
// and handler is used for informing the user of new stuff, and when a
// and handler is used for informing the user of new stuff, and when a
// enrollment to a keyshare server needs to happen.
// enrollment to a keyshare server needs to happen.
// The client returned by this function has been fully deserialized
// The client returned by this function has been fully deserialized
...
@@ -120,7 +117,6 @@ type secretKey struct {
...
@@ -120,7 +117,6 @@ type secretKey struct {
func
New
(
func
New
(
storagePath
string
,
storagePath
string
,
irmaConfigurationPath
string
,
irmaConfigurationPath
string
,
androidStoragePath
string
,
handler
ClientHandler
,
handler
ClientHandler
,
)
(
*
Client
,
error
)
{
)
(
*
Client
,
error
)
{
var
err
error
var
err
error
...
@@ -136,7 +132,6 @@ func New(
...
@@ -136,7 +132,6 @@ func New(
keyshareServers
:
make
(
map
[
irma
.
SchemeManagerIdentifier
]
*
keyshareServer
),
keyshareServers
:
make
(
map
[
irma
.
SchemeManagerIdentifier
]
*
keyshareServer
),
attributes
:
make
(
map
[
irma
.
CredentialTypeIdentifier
][]
*
irma
.
AttributeList
),
attributes
:
make
(
map
[
irma
.
CredentialTypeIdentifier
][]
*
irma
.
AttributeList
),
irmaConfigurationPath
:
irmaConfigurationPath
,
irmaConfigurationPath
:
irmaConfigurationPath
,
androidStoragePath
:
androidStoragePath
,
handler
:
handler
,
handler
:
handler
,
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment