Method specifies the authentication method to use when a connection matches hba.
(name string)
| 132 | |
| 133 | // Method specifies the authentication method to use when a connection matches hba. |
| 134 | func (hba *HostBasedAuthentication) Method(name string) *HostBasedAuthentication { |
| 135 | hba.method = hba.quote(name) |
| 136 | return hba |
| 137 | } |
| 138 | |
| 139 | func (hba *HostBasedAuthentication) Origin(name string) *HostBasedAuthentication { |
| 140 | hba.origin = hba.quote(name) |