MCPcopy Create free account
hub / github.com/gogs/gogs / HasTLS

Method HasTLS

internal/auth/auth.go:86–86  ·  view source on GitHub ↗

HasTLS returns true if the authenticate provider supports TLS.

()

Source from the content-addressed store, hash-verified

84 Config() any
85 // HasTLS returns true if the authenticate provider supports TLS.
86 HasTLS() bool
87 // UseTLS returns true if the authenticate provider is configured to use TLS.
88 UseTLS() bool
89 // SkipTLSVerify returns true if the authenticate provider is configured to skip TLS verify.

Callers 2

EditAuthSourceFunction · 0.65
EditAuthSourcePostFunction · 0.65

Implementers 5

MockProviderinternal/database/mocks_gen.go
Providerinternal/auth/github/provider.go
Providerinternal/auth/smtp/provider.go
Providerinternal/auth/ldap/provider.go
Providerinternal/auth/pam/provider.go

Calls

no outgoing calls

Tested by

no test coverage detected