+2
-2
atproto/auth/http_test.go
+2
-2
atproto/auth/http_test.go
···
86
86
dir := identity.NewMockDirectory()
87
87
dir.Insert(identity.Identity{
88
88
DID: iss,
89
-
Keys: map[string]identity.Key{
90
-
"atproto": identity.Key{
89
+
Keys: map[string]identity.IdentityKey{
90
+
"atproto": {
91
91
Type: "Multikey",
92
92
PublicKeyMultibase: pub.Multibase(),
93
93
},
+2
-2
atproto/auth/jwt_test.go
+2
-2
atproto/auth/jwt_test.go
···
100
100
dir := identity.NewMockDirectory()
101
101
dir.Insert(identity.Identity{
102
102
DID: iss,
103
-
Keys: map[string]identity.Key{
104
-
"atproto": identity.Key{
103
+
Keys: map[string]identity.IdentityKey{
104
+
"atproto": {
105
105
Type: "Multikey",
106
106
PublicKeyMultibase: pub.Multibase(),
107
107
},
+1
-1
atproto/client/password_auth_test.go
+1
-1
atproto/client/password_auth_test.go
···
121
121
dir.Insert(identity.Identity{
122
122
DID: "did:web:account.example.com",
123
123
Handle: "user1.example.com",
124
-
Services: map[string]identity.Service{
124
+
Services: map[string]identity.ServiceEndpoint{
125
125
"atproto_pds": {
126
126
Type: "AtprotoPersonalDataServer",
127
127
URL: srv.URL,