MCPcopy Create free account
hub / github.com/gogs/gogs / DeleteAccessTokenByID

Method DeleteAccessTokenByID

internal/route/user/setting.go:706–706  ·  view source on GitHub ↗

DeleteAccessTokenByID deletes the access token by given ID.

(ctx gocontext.Context, userID, id int64)

Source from the content-addressed store, hash-verified

704 ListAccessTokens(ctx gocontext.Context, userID int64) ([]*database.AccessToken, error)
705 // DeleteAccessTokenByID deletes the access token by given ID.
706 DeleteAccessTokenByID(ctx gocontext.Context, userID, id int64) error
707}
708
709type settingsStore struct{}

Callers 1

DeleteApplicationMethod · 0.65

Implementers 1

settingsStoreinternal/route/user/setting.go

Calls

no outgoing calls

Tested by

no test coverage detected