Affected by GO-2023-1808
and 2 other vulnerabilities
GO-2023-1808: Go package pydio/cells vulnerable to authorization bypass in github.com/pydio/cells
GO-2023-1809: go package pydio cells vulnerable to cross-site scripting in github.com/pydio/cells
GO-2023-2344: Abstrium Pydio Cells Resource Injection vulnerability in github.com/pydio/cells
The highest tagged major version is
v4.
package
Version:
v2.2.0-rc3+incompatible
Opens a new window with list of versions in this module.
Published: Jan 14, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 16
Opens a new window with list of known importers.
Documentation
¶
-
func AcceptLogout(ctx context.Context, challenge string, accessToken string, refreshToken string) error
-
func CreateAuthCode(ctx context.Context, consent *auth.ID, clientID, redirectURI string) (string, error)
-
func CreateConsent(ctx context.Context, loginChallenge string) (*auth.ID, error)
-
func CreateLogin(ctx context.Context, clientID string, scopes, audiences []string) (*auth.ID, error)
-
func CreateLogout(ctx context.Context, url, subject, sessionID string) (*auth.ID, error)
-
func Exchange(ctx context.Context, code string) (*oauth2.Token, error)
-
func GetLogin(ctx context.Context, challenge string) (*auth.GetLoginResponse, error)
-
func PasswordCredentialsToken(ctx context.Context, username, password string) (*oauth2.Token, error)
-
type ConsentResponse
-
type LogoutResponse
-
type RedirectResponse
-
type TokenResponse
type ConsentResponse struct {
Challenge string `json:"challenge"`
Skip bool `json:"skip"`
Subject string `json:"subject"`
RequestedScope []string `json:"requested_scope"`
RequestedAccessTokenAudience []string `json:"requested_access_token_audience"`
}
type LogoutResponse struct {
RequestURL string `json:"request_url"`
RPInitiated bool `json:"rp_initiated"`
SID string `json:"sid"`
Subject string `json:"subject"`
}
type RedirectResponse struct {
RedirectTo string `json:"redirect_to"`
}
type TokenResponse struct {
IDToken string `json:"id_token"`
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpiresIn int64 `json:"expires_in"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.