From 8488ac928651656c6f7bebf5eaabce62c2b9fb66 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:42:51 +0100 Subject: [chore] migrate oauth2 -> codeberg (#3857) --- .../superseriousbusiness/oauth2/v4/model.go | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 vendor/github.com/superseriousbusiness/oauth2/v4/model.go (limited to 'vendor/github.com/superseriousbusiness/oauth2/v4/model.go') diff --git a/vendor/github.com/superseriousbusiness/oauth2/v4/model.go b/vendor/github.com/superseriousbusiness/oauth2/v4/model.go deleted file mode 100644 index 121a42d67..000000000 --- a/vendor/github.com/superseriousbusiness/oauth2/v4/model.go +++ /dev/null @@ -1,59 +0,0 @@ -package oauth2 - -import ( - "time" -) - -type ( - // ClientInfo the client information model interface - ClientInfo interface { - GetID() string - GetSecret() string - GetDomain() string - GetUserID() string - } - - // ClientPasswordVerifier the password handler interface - ClientPasswordVerifier interface { - VerifyPassword(string) bool - } - - // TokenInfo the token information model interface - TokenInfo interface { - New() TokenInfo - - GetClientID() string - SetClientID(string) - GetUserID() string - SetUserID(string) - GetRedirectURI() string - SetRedirectURI(string) - GetScope() string - SetScope(string) - - GetCode() string - SetCode(string) - GetCodeCreateAt() time.Time - SetCodeCreateAt(time.Time) - GetCodeExpiresIn() time.Duration - SetCodeExpiresIn(time.Duration) - GetCodeChallenge() string - SetCodeChallenge(string) - GetCodeChallengeMethod() CodeChallengeMethod - SetCodeChallengeMethod(CodeChallengeMethod) - - GetAccess() string - SetAccess(string) - GetAccessCreateAt() time.Time - SetAccessCreateAt(time.Time) - GetAccessExpiresIn() time.Duration - SetAccessExpiresIn(time.Duration) - - GetRefresh() string - SetRefresh(string) - GetRefreshCreateAt() time.Time - SetRefreshCreateAt(time.Time) - GetRefreshExpiresIn() time.Duration - SetRefreshExpiresIn(time.Duration) - } -) -- cgit v1.2.3