diff --git a/auth-server/.idea/auth-server.iml b/auth-server/.idea/auth-server.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/auth-server/.idea/auth-server.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/auth-server/.idea/modules.xml b/auth-server/.idea/modules.xml new file mode 100644 index 0000000..0d210f3 --- /dev/null +++ b/auth-server/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/auth-server/.idea/vcs.xml b/auth-server/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/auth-server/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/auth-server/.idea/workspace.xml b/auth-server/.idea/workspace.xml new file mode 100644 index 0000000..9134ce5 --- /dev/null +++ b/auth-server/.idea/workspace.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + \ No newline at end of file diff --git a/auth-server/server.go b/auth-server/server.go index 8ddd9b8..976fd40 100644 --- a/auth-server/server.go +++ b/auth-server/server.go @@ -17,6 +17,7 @@ type BlockchainStorage interface { GetByID(ctx context.Context, id string) (oauth2.ClientInfo, error) // read Set(id string, cli oauth2.ClientInfo) (err error) // create and update Delete(id string) (err error) // delete + CheckPassword(id, password string) (bool, error) // CheckUser } func main() {