From f7f6116549c1bf9ae63e55a9e2a6578625a4bf61 Mon Sep 17 00:00:00 2001 From: echpochmak31 Date: Sat, 13 Jan 2024 20:38:42 +0300 Subject: [PATCH] modify interface --- auth-server/.idea/auth-server.iml | 9 ++++ auth-server/.idea/modules.xml | 8 ++++ auth-server/.idea/vcs.xml | 6 +++ auth-server/.idea/workspace.xml | 72 +++++++++++++++++++++++++++++++ auth-server/server.go | 1 + 5 files changed, 96 insertions(+) create mode 100644 auth-server/.idea/auth-server.iml create mode 100644 auth-server/.idea/modules.xml create mode 100644 auth-server/.idea/vcs.xml create mode 100644 auth-server/.idea/workspace.xml 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() {