mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
fix typo in api.QueryAccessTokenAPI
This commit is contained in:
parent
641f5b54f8
commit
17b7677071
2 changed files with 5 additions and 6 deletions
|
@ -11,7 +11,7 @@ import (
|
||||||
|
|
||||||
// DefaultUserVerifier implements UserVerifier interface
|
// DefaultUserVerifier implements UserVerifier interface
|
||||||
type DefaultUserVerifier struct {
|
type DefaultUserVerifier struct {
|
||||||
UserAPI api.QueryAcccessTokenAPI
|
UserAPI api.QueryAccessTokenAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
// VerifyUserFromRequest authenticates the HTTP request,
|
// VerifyUserFromRequest authenticates the HTTP request,
|
||||||
|
|
|
@ -48,7 +48,7 @@ type RoomserverUserAPI interface {
|
||||||
|
|
||||||
// api functions required by the media api
|
// api functions required by the media api
|
||||||
type MediaUserAPI interface {
|
type MediaUserAPI interface {
|
||||||
QueryAcccessTokenAPI
|
QueryAccessTokenAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
// api functions required by the federation api
|
// api functions required by the federation api
|
||||||
|
@ -65,7 +65,7 @@ type FederationUserAPI interface {
|
||||||
|
|
||||||
// api functions required by the sync api
|
// api functions required by the sync api
|
||||||
type SyncUserAPI interface {
|
type SyncUserAPI interface {
|
||||||
QueryAcccessTokenAPI
|
QueryAccessTokenAPI
|
||||||
SyncKeyAPI
|
SyncKeyAPI
|
||||||
QueryAccountData(ctx context.Context, req *QueryAccountDataRequest, res *QueryAccountDataResponse) error
|
QueryAccountData(ctx context.Context, req *QueryAccountDataRequest, res *QueryAccountDataResponse) error
|
||||||
PerformLastSeenUpdate(ctx context.Context, req *PerformLastSeenUpdateRequest, res *PerformLastSeenUpdateResponse) error
|
PerformLastSeenUpdate(ctx context.Context, req *PerformLastSeenUpdateRequest, res *PerformLastSeenUpdateResponse) error
|
||||||
|
@ -76,7 +76,7 @@ type SyncUserAPI interface {
|
||||||
|
|
||||||
// api functions required by the client api
|
// api functions required by the client api
|
||||||
type ClientUserAPI interface {
|
type ClientUserAPI interface {
|
||||||
QueryAcccessTokenAPI
|
QueryAccessTokenAPI
|
||||||
LoginTokenInternalAPI
|
LoginTokenInternalAPI
|
||||||
UserLoginAPI
|
UserLoginAPI
|
||||||
ClientKeyAPI
|
ClientKeyAPI
|
||||||
|
@ -132,9 +132,8 @@ type QuerySearchProfilesAPI interface {
|
||||||
QuerySearchProfiles(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse) error
|
QuerySearchProfiles(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse) error
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: typo in Acccess
|
|
||||||
// common function for creating authenticated endpoints (used in client/media/sync api)
|
// common function for creating authenticated endpoints (used in client/media/sync api)
|
||||||
type QueryAcccessTokenAPI interface {
|
type QueryAccessTokenAPI interface {
|
||||||
QueryAccessToken(ctx context.Context, req *QueryAccessTokenRequest, res *QueryAccessTokenResponse) error
|
QueryAccessToken(ctx context.Context, req *QueryAccessTokenRequest, res *QueryAccessTokenResponse) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue