(cfg map[string]interface{})
| 16 | return "oauth2" |
| 17 | } |
| 18 | func (o *OAuth2) ToPattern(cfg map[string]interface{}) interface{} { |
| 19 | result := make(map[string]interface{}) |
| 20 | result["client_id"] = cfg["client_id"] |
| 21 | result["client_secret"] = cfg["client_secret"] |
| 22 | result["client_type"] = cfg["client_type"] |
| 23 | result["hash_secret"] = cfg["hash_secret"] |
| 24 | result["redirect_urls"] = cfg["redirect_urls"] |
| 25 | return result |
| 26 | } |
| 27 | func (o *OAuth2) ToConfig(cfg map[string]interface{}) interface{} { |
| 28 | return nil |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected