Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRawRedirectURI ¶
GetRawRedirectURI returns raw redirect_uri value from query parameters.
func GetRedirectURI ¶
GetRedirectURI returns redirect_uri value from query parameters.
func HasRedirectURI ¶
HasRedirectURI check whether URL has redirect_uri in query parameters.
Types ¶
type RedirectURIMatchConfig ¶
type RedirectURIMatchConfig struct { PathMatchType string `json:"path_match_type,omitempty" xml:"path_match_type,omitempty" yaml:"path_match_type,omitempty"` Path string `json:"path,omitempty" xml:"path,omitempty" yaml:"path,omitempty"` DomainMatchType string `json:"domain_match_type,omitempty" xml:"domain_match_type,omitempty" yaml:"domain_match_type,omitempty"` Domain string `json:"domain,omitempty" xml:"domain,omitempty" yaml:"domain,omitempty"` // contains filtered or unexported fields }
RedirectURIMatchConfig holds the configuration for a redirect URI.
func NewRedirectURIMatchConfig ¶
func NewRedirectURIMatchConfig(domainMatchType, domain, pathMatchType, path string) (*RedirectURIMatchConfig, error)
NewRedirectURIMatchConfig return an instance of *RedirectURIMatchConfig.
func (*RedirectURIMatchConfig) Validate ¶
func (c *RedirectURIMatchConfig) Validate() error
Validate validates RedirectURIMatchConfig.
Click to show internal directories.
Click to hide internal directories.