authority.go
Method Authority.Validate
has 7 return statements (exceeds 4 allowed). Open
Open
func (a *Authority) Validate(httpClient *http.Client) error {
if a.validated {
return nil
}
host := a.URL.Host
exported method Authority.AuthorityURL should have comment or be unexported Open
Open
func (a *Authority) AuthorityURL() string {
- Exclude checks
exported type Authority should have comment or be unexported Open
Open
type Authority struct {
- Exclude checks
exported function NewAuthority should have comment or be unexported Open
Open
func NewAuthority(urlStr string, validateAuthority bool) (*Authority, error) {
- Exclude checks
exported method Authority.IsADFSAuthority should have comment or be unexported Open
Open
func (a *Authority) IsADFSAuthority() bool {
- Exclude checks
exported method Authority.Validated should have comment or be unexported Open
Open
func (a *Authority) Validated() bool {
- Exclude checks
exported method Authority.DeviceURL should have comment or be unexported Open
Open
func (a *Authority) DeviceURL() string {
- Exclude checks
exported method Authority.Validate should have comment or be unexported Open
Open
func (a *Authority) Validate(httpClient *http.Client) error {
- Exclude checks
exported method Authority.TokenURL should have comment or be unexported Open
Open
func (a *Authority) TokenURL() string {
- Exclude checks