code: func (gc *Client) generateSecurity(dir string) error {
  	for name, ss := range gc.apiDef.SecuritySchemes {
  		if v, ok := ss.Settings["accessTokenUri"]; ok {
  			ctx := map[string]string{
  				"ClientName":     gc.Name,
  				"AccessTokenURI": fmt.Sprintf("%v", v),
  				"PackageName":    gc.PackageName,
  			}
  			filename := filepath.Join(dir, "oauth2_client_"+name+".go")
  			if err := commons.GenerateFile(ctx, "./templates/golang/oauth2_client_go.tmpl", "oauth2_client_go", filename, true); err != nil {
  				return err
  			}
  		}
  	}
  	return nil
  }
docs: // generate security related files
  // it currently only supports itsyou.online oauth2