From b1af8fd87760b34e3ff2fd3bda38f211815a0473 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Sun, 9 Mar 2025 17:47:56 +0100 Subject: [chore] remove vendor --- .../oauth2/v4/model.go | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 vendor/code.superseriousbusiness.org/oauth2/v4/model.go (limited to 'vendor/code.superseriousbusiness.org/oauth2/v4/model.go') diff --git a/vendor/code.superseriousbusiness.org/oauth2/v4/model.go b/vendor/code.superseriousbusiness.org/oauth2/v4/model.go deleted file mode 100644 index 9073e40ef..000000000 --- a/vendor/code.superseriousbusiness.org/oauth2/v4/model.go +++ /dev/null @@ -1,67 +0,0 @@ -package oauth2 - -import ( - "net/url" - "time" -) - -type ( - // ClientInfo the client information model interface - ClientInfo interface { - GetID() string - GetSecret() string - GetDomain() string - IsPublic() bool - 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) - } - - ExtendableTokenInfo interface { - TokenInfo - GetExtension() url.Values - SetExtension(url.Values) - } -) -- cgit v1.2.3