code: func (t *tokenWithProvider) mintTokenWithRetries(ctx context.Context, base *internal.Token) (tok *internal.Token, err error) {
  	err = retry.Retry(ctx, transient.Only(retryParams), func() error {
  		tok, err = t.provider.MintToken(ctx, base)
  		return err
  	}, nil)
  	return
  }
docs: // mintTokenWithRetries calls provider's MintToken() retrying on transient
  // errors a bunch of times. Called only for non-interactive providers.