code: func (c *Client) generateSecurity() error {
  	for name, ss := range c.APIDef.SecuritySchemes {
  		if v, ok := ss.Settings["accessTokenUri"]; ok {
  			ctx := map[string]string{
  				"ClientName": clientName(c.APIDef),
  				"BaseURI":    fmt.Sprintf("%v", v),
  			}
  			filename := filepath.Join(c.Dir, "oauth2_client_"+name+".nim")
  			if err := commons.GenerateFile(ctx, "./templates/nim/oauth2_client_nim.tmpl", "oauth2_client_nim", filename, true); err != nil {
  				return err
  			}
  		}
  	}
  	return nil
  }
docs: // generate security related files
  // it currently only supports itsyou.online oauth2